Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

d3-shiny-cpi

Using the example given in http://bl.ocks.org/3891711, I have made the change to use R through RStudio Shiny to load CPI average price data from http://bls.org. Still getting NaN in the path, so not working perfectly, but I wanted to go ahead and show it to the world.

As stated in that example (all applies except "contructed from a CSV..."),

"

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:

"

Something went wrong with that request. Please try again.