dc.js Experiment
This experiment uses dc.js, built on d3.v3 and crossfilter, to display Leanpub book sales data from a CSV file. It shows interactive line charts for downloads, sales, and royalties per day, alongside row charts for the day of the week. The dc.js API (e.g., `dc.lineChart`, `dc.rowChart`) handles chart creation and linking, while crossfilter dimensions manage data grouping and reduction. Users can brush and filter across the charts, with a reset link to clear selections, illustrating linked brushing for multidimensional time-series exploration.
AI-generated descriptionThis file can be used (in conjunction with the appropriate JavaScript libraries noted in the code) with a copy of the csv of book sales from Leanpub. It is a file designed to be available in conjunction with the blog post on d3noob.org that investigated changes in book downloads.
The csv file should have a search and replace carried out on it to replace all instances of a white space (an ordinary 'space' character) with an underscore '_'.