Skip to main content
100%

D3 Scatter plot

✓ Published3🌍 Public
KKwasi Acquaye
Last edited Feb 21, 2024
Created on Feb 19, 2024
Forked from D3 Bar chart

This scatter plot visualizes the global sales of top-rated video games from 2016, with each game represented as a circular point. The data, loaded from a local CSV file, maps game names along the x-axis and their sales figures in millions along the y-axis. The visualization is built with D3 v6, using functions like `d3.scaleBand` and `d3.scaleLinear` to manage the axes, while `d3.select`, `d3.append`, and `d3.axisBottom` handle the SVG element creation and axis rendering. Each dot is positioned using the computed scales, and steelblue fill distinguishes the data points.

AI-generated description
MIT Licensed

Similar vizzes