A D3 v7 scatter plot that encodes three quantitative dimensions and one categorical dimension of a video-game dataset.
| Channel | Field |
|---|---|
| X position | copies_sold_millions |
| Y position | metacritic_score |
| Hue (colour) | genre (ordinal, Tableau-10 palette) |
Area (radius via scaleSqrt) |
avg_playtime_hours |
Minecraft (best-selling title) receives a one-off highlight colour so it is immediately identifiable.
| File | Purpose |
|---|---|
index.html |
Page shell, styles, SVG container |
chart.js |
All D3 logic – data loading, scales, axes, marks, legend |