Skip to main content
100%

Player Count Line Chart

✓ Published0🌍 Public
AAaron Brion
Last edited Apr 7, 2022
Created on Apr 7, 2022
Forked from HTML Starter

This visualization shows a line chart tracking the monthly player counts for four games (PUBG, CSGO, Grand Theft Auto V, and Rainbow Six Siege) from September 2017 through December 2021. The chart uses D3.js v7 with SVG rendering, employing `d3.line` with a basis curve to smooth the trends. Interactive features include a color-coded hover effect that highlights one series by muting others, and a click-to-toggle visibility mechanism that hides or shows individual game lines. The chart also supports zooming via `d3.zoom`, which rescales the x-axis and redraws the lines with `transition.attrTween`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes