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 scatter plot visualizes population data for ten countries, using horizontal bars whose lengths correspond to each nation's population count. The chart reads population values from a CSV file and scales them by a factor of one thousand. Built with D3.js v5, the visualization employs `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, appending SVG rectangles to represent the data points. The example demonstrates fundamental SVG rendering and data-binding techniques within the D3 framework, with styling controlled by an external CSS file.

AI-generated description

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

MIT Licensed

Similar vizzes