Skip to main content
100%

Streamgraph

✓ Published0🌍 Public
Yyungchiau
Last edited Jan 22, 2022
Created on Jan 22, 2022
Forked from HTML Starter

This streamgraph shows how species abundance varies with latitude, using a stacked silhouette layout. The code loads CSV data and applies `d3.stack` with `d3.stackOffsetSilhouette` to create the layered structure, then renders it with `d3.area` and `d3.scaleLinear` axes. A `d3.scaleOrdinal` assigns colors from `d3.schemeDark2`. Interactive hover effects, managed via mouseover, mousemove, and mouseleave events, highlight a layer and display its group name in a tooltip. The visualization is built with D3 v6 and rendered as an SVG.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes