Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Activity6 tutorial 1 task 1

Public visualization

Activity6 tutorial 1 task 1

0 stars0๐ŸŒ 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

Comments

Sign in to join the discussion.

MIT Licensed