Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter plot

Public visualization

Scatter plot

0 stars1🌍 Public
Ddavidpiber
Last edited Nov 19, 2019
Created on Nov 19, 2019

This scatter plot displays the population of ten countries as horizontal bars, with each country’s name on the y-axis and its population value on the x-axis. The visualization uses d3.csv to load the data, d3.scaleLinear for the x-axis, and d3.scaleBand for the y-axis. It renders SVG rectangles, with axes generated via d3.axisLeft and d3.axisBottom, and applies a 1000 multiplier to the raw population numbers during data formatting.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed