Skip to main content
100%

Area Chart

✓ Published0🌍 Public
深深度碎片
Last edited Aug 4, 2016
Created on Aug 4, 2016

This area chart displays the daily closing price of AAPL stock from early 2011 to May 2012, with time on the x-axis and price in dollars on the y-axis. The visualization uses D3 v3 with an SVG rendering to draw a filled steelblue area under the price curve. The code loads and parses data from a TSV file using `d3.tsv` and `d3.time.format`, encodes positions with `d3.time.scale` and `d3.scale.linear`, computes domains with `d3.extent` and `d3.max`, and renders axes via `d3.svg.axis` alongside the `d3.svg.area` shape.

AI-generated description

This simple area chart is constructed from a TSV file storing the closing value of AAPL stock over the last few years. The chart employs conventional margins and a number of D3 features:

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/3883195'>Area Chart</a>

gpl-3.0 Licensed

Similar vizzes