Fork of HTML Starter
✓ Published0🌍 Public
This interactive D3.js v7 scatter plot visualizes video game sales, Metacritic scores, and average playtime across genres. Each circle encodes copies sold on the x-axis, Metacritic score on the y-axis, genre through color, and playtime through circle size, with Minecraft highlighted in red. The visualization uses `d3.scaleLinear`, `d3.scaleOrdinal` with `d3.schemeTableau10`, and `d3.scaleSqrt` for sizing. Data loads from a CSV via `d3.csv`, and SVG rendering includes axes, labels, and a color legend.
AI-generated descriptionHW5 - Marks and Channels: Video Game Sales, Scores & Playtime
A D3.js scatter plot visualization exploring the relationship between video game sales, metacritic scores, and playtime.
Encoding
- X position: Copies sold (millions) - quantitative
- Y position: Metacritic score - quantitative
- Hue (color): Genre - categorical
- Size (area): Average playtime (hours) - quantitative
- Highlight: Minecraft receives special emphasis with distinct color and stroke
Data Source
Video game dataset from gist (see DATA_URL in index.js)
MIT Licensed