Skip to main content
100%

streamGraphStep4

✓ Published0🌍 Public
AAminaSGitHub
Last edited Nov 29, 2017
Created on Nov 29, 2017

The visualization animates the monthly stock prices of Microsoft, Amazon, and IBM from 2000 to 2010 as a streamgraph. It begins with each stock plotted as a separate line, then transitions into layered, stacked areas that overlap to show cumulative price trends. The code uses `d3.svg.line`, `d3.svg.area`, and `d3.scale.linear` to render the paths, with `d3.timer` driving the animation and `d3.select` manipulating SVG elements. The y-axis domain adjusts per symbol initially, then scales to the maximum price across all stocks.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes