🌍 Public
Viewing a saved revision (read-only)
ce37a8fb43e44fff9e4839f3d221ab32
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 descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.