Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making A Scatter Plot

Public visualization

Viewing a saved revision (read-only)

497921b6f5bf49ec8395b7122575aaba

Making A Scatter Plot

0 stars0🌍 Public
Jjmmoser7
Last edited Feb 13, 2022
Created on Feb 13, 2022
Forked from making a bar chart

This scatter plot uses a bar chart layout to compare the populations of ten countries, with each country’s population displayed along a linear scale. Built with D3 v5, the visualization loads data from a CSV file and uses `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render SVG rectangles. The bars are styled with `fill: steelBlue`, and population values are multiplied by 1,000 during data loading.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.