Skip to main content
100%

D3 Example

✓ Published0🌍 Public
MMariamArabi
Last edited Feb 2, 2018
Created on Feb 2, 2018

This visualization shows monthly stock prices for Microsoft, Amazon, and IBM from 2000 to 2010, using nested selections in D3. Each company is positioned along a horizontal ordinal axis, with its price history drawn as a pie chart where each slice represents one month and its radius is scaled by the closing price. The slices are colored by date using a categorical color scale, with a legend generated by the d3-legend library. The code uses d3.csv, d3.nest, d3.layout.pie, and d3.svg.arc to structure and render the data as SVG.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/MariamArabi/'>MariamArabi</a>'s block: <a href='http://bl.ocks.org/MariamArabi/2b095990290eab970b7bbefc3625e200'>Nested selections</a>

mit Licensed

Similar vizzes