block by renecnielsen 919d44fdf9078633a308

Average Price Histories

Full Screen

Want to fix the label crowding? Check out the version by Ziggy that dynamically positions the labels. Mike Bostock suggested constraint relaxation, which works very well.

This line chart is constructed from a CSV in the “Multi-Series Format” from Bureau of Labor Statistics Consumer Price Index data. The chart employs conventional margins and a number of D3 features:

The chart also uses a couple functions from Underscore.js:

forked from syntagmatic‘s block: Average Price Histories

index.html

employment.csv