Skip to main content
100%

Scatter plot

✓ Published1🌍 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.

MIT Licensed

Similar vizzes