return-line & candleBars-background
✓ Published0🌍 Public
深深度碎片
Last edited Aug 7, 2016
Created on Aug 7, 2016
A stock chart combines candlestick bars with a pink return line overlaid on the same time axis. The candlesticks show open, high, low, and close prices, colored red when price rises and green when it falls. The return line uses a distinct y-axis scale, while the candlestick bars use the price scale. Built with D3 v4, it uses `d3.csv` to load data, `d3.timeParse` for dates, and `d3.axisBottom` and `d3.axisLeft` for axes. The SVG rendering includes `rect` elements for bodies and `line` elements for wicks.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/EmbraceLife/'>EmbraceLife</a>'s block: <a href='http://bl.ocks.org/EmbraceLife/77a920a331c0ed20adfe2bba6f4b28aa'>candleBars</a>
gpl-3.0 Licensed