Skip to main content
100%

Activity6 tutorial 1 task 1

✓ Published0🌍 Public
Nnissisharon61@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025

This example presents a horizontal bar chart comparing the populations of ten countries in the year 2000. The visualization uses D3 v7 with an SVG rendering approach, employing `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the y-axis, and `d3.axisBottom` and `d3.axisLeft` for the axes. The data is loaded asynchronously from a CSV file using `d3.csv`. Rectangular marks are colored light green, with axis labels formatted to abbreviate large population values.

AI-generated description
MIT Licensed

Similar vizzes