Skip to main content
100%

D3 Scatter Plot

✓ Published1🌍 Public
YYoung Song
Last edited Jun 23, 2022
Created on Jun 17, 2022

This D3 Scatter Plot shows the relative populations of ten countries, with country names on the y-axis and population values on the x-axis. The chart uses a linear scale for population and a band scale for countries, with circles sized proportionally to the bandwidth. Built with D3 v7, the SVG visualization leverages `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to render axes and data. Population data is loaded from a CSV file, multiplied by 1000, and formatted with abbreviations like "B" for billions.

AI-generated description
  • Visualizing data with a scatter plot
MIT Licensed

Similar vizzes