Skip to main content
100%

TP3-p3-3

✓ Published0🌍 Public
RRade-Mathis
Last edited Nov 25, 2017
Created on Nov 25, 2017

This visualization displays a stacked area chart of stock prices over time, showing how each category contributes cumulatively to the total. It uses a time-scaled x-axis and a linear y-axis with gridlines, and includes a legend positioned at the right side. The code loads CSV data from a remote gist, parses dates, and nests the data by symbol. It computes the sum of other categories for each point to create the stacked effect, then renders the areas using `d3.area` with a basis curve, filling each series with a categorical color from `d3.schemeCategory10`.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/romsson/'>romsson</a>'s block: <a href='http://bl.ocks.org/romsson/855207ac5fb5c170de59b9c69ea56012'>simple line chart from dataset</a>

forked from <a href='http://bl.ocks.org/Rade-Mathis/'>Rade-Mathis</a>'s block: <a href='http://bl.ocks.org/Rade-Mathis/8bcf33a7ab32cc05916d1c99c08d93bc'>TP3-p1</a>

forked from <a href='http://bl.ocks.org/Rade-Mathis/'>Rade-Mathis</a>'s block: <a href='http://bl.ocks.org/Rade-Mathis/f9f90c3d2e8dd3f38088bed19aee3509'>TP3-p3-1</a>

wtfpl Licensed

Similar vizzes