Skip to main content
100%

d3 time series streamgraph

✓ Published0🌍 Public
AAndrew
Last edited Mar 20, 2024
Created on Mar 20, 2024
Forked from HTML Starter

This streamgraph visualizes Google Search Trends for five best-selling video game franchises from 2004 to 2024, showing relative popularity over time. It uses d3.stack() with the stackOffsetSilhouette offset to create the layered streamgraph shape, with a colorbrewer categorical palette from the colorbrewer library for the series. The chart employs d3.scaleTime for the x-axis and d3.scaleLinear for the y-axis, while the d3-legend library provides the legend. Data comes from Google Trends, simplified for the example, and is rendered as SVG with interactive tooltips.

AI-generated description

A time series streamgraph, using color scale with color brewer in D3 and legend from Susie Lu

BTW: The data was simplified to help with creating this visualization.

Link to original dataset: https://trends.google.com/trends/

MIT Licensed

Similar vizzes