Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter plot

Public visualization

Viewing a saved revision (read-only)

fa08a7a8fd6a43f0a03d1bf6b30740d2

Scatter plot

0 stars1🌍 Public
LLonwabo11
Last edited May 6, 2019
Created on May 6, 2019
Forked from Scatter plot

This bar chart visualizes the populations of ten countries, with horizontal bars extending from a shared origin to represent each country's population value. The chart uses D3.js v5 to load CSV data, scale the population values by 1000, and render the visualization as SVG rectangles. The code utilizes `scaleLinear` for the x-axis, `scaleBand` for the y-axis categories, and the `axisBottom` and `axisLeft` functions to generate the axes.

AI-generated description

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