D3 Show Reel
This visualization demonstrates D3’s ability to create smooth, animated transitions between ten different chart types—lines, horizons, areas, stacked areas, streamgraphs, overlapping areas, grouped bars, stacked bars, bars, and a donut—using real monthly stock prices for MSFT, AMZN, IBM, and AAPL. The data is drawn from a CSV file and rendered as SVG. The code relies on D3 v4 primitives such as `d3.line`, `d3.area`, `d3.scaleTime`, `d3.scaleLinear`, `d3.nest`, and `d3.timer` to orchestrate the seamless morphing effects. No axes are included, emphasizing form over function.
AI-generated descriptionThe first 15 seconds of the D3 show reel. See full video at http://vimeo.com/29862153. Includes seamless transitions between the following visualization types:
- lines
- horizons
- areas
- stacked areas
- streamgraph
- overlapping areas
- grouped bars
- stacked bars
- bars
- donut
Admittedly, these aren’t the most useful visualizations; their purpose is not to inform but to demonstrate D3’s capability for producing dynamic visualizations with custom transitions. They do show real data (the monthly closing price for ten years’ worth of stock data), but I didn’t include axes for date or price. See the axis component for a better example. Also, the stacked visualizations aren’t especially meaningful, unless you imagine owning a portfolio with equal parts AAPL, AMZN, IBM and MSFT. Similarly, the bars and donuts represent the average price (or sum) during this time period.
forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/1256572'>D3 Show Reel</a>
forked from <a href='http://bl.ocks.org/hichamelhady/'>hichamelhady</a>'s block: <a href='http://bl.ocks.org/hichamelhady/93f94fd6f2731bc7b3cbf8b37d278cdc'>D3 Show Reel</a>