Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

D3 Scatter Plot

Public visualization

D3 Scatter Plot

0 stars1๐ŸŒ 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

Comments

Sign in to join the discussion.

MIT Licensed