D3.chart Boilerplate Example
✓ Published0🌍 Public
深深度碎片
Last edited Aug 12, 2016
Created on Aug 10, 2016
A D3.chart boilerplate example displays Apple's stock price and 30-day average as two smooth lines over a time series, with a context area chart and a linked brush for zooming and panning the main chart. A bar chart of trading volume sits below, and the interface includes a legend with the date range. The code uses d3.scaleTime, d3.line with curveMonotoneX, d3.area, d3.brushX, and d3.axisBottom/axisLeft to render the SVG visualization, loading data from a local aapl.csv file.
AI-generated descriptionBuilt with blockbuilder.org
forked from arnauddri/d3-stock
forked from <a href='http://bl.ocks.org/EmbraceLife/'>EmbraceLife</a>'s block: <a href='http://bl.ocks.org/EmbraceLife/8d5f72013244fb92fc4fe03279a14ebf'></a>
gpl-3.0 Licensed