Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Testing

Public visualization

Viewing a saved revision (read-only)

b0db02b4e9ad4cf69b2f24940212dad0

Testing

0 stars0🌍 Public
ZZach2826
Last edited Apr 29, 2022
Created on Apr 29, 2022
Forked from HTML Starter

This example visualizes video game sales over time, showing the total global sales for each year as a line chart. The code loads a CSV dataset from a GitHub gist using `d3.csv` and processes it with `d3.nest` to group records by year and sum their sales values. A time-scaled X axis (`d3.scaleTime`) and a linear Y axis (`d3.scaleLinear`) are drawn, with a single steel-blue line rendered via `d3.line`. Rendering is done with SVG appended to the page.

AI-generated description

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

See also React Starter.