Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity6_data_vis Q1.1

Public visualization

Viewing a saved revision (read-only)

f9fff93e6ae1445c90fa985e8f3b2189

Fork of Activity6_data_vis Q1.1

0 stars1🌍 Public
Aaashrithas2000@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Activity6_data_vis

A horizontal bar chart displays population figures for ten countries in the year 2000, using green bars with blue axis ticks and tooltips showing formatted values. The visualization is built with React and D3 v5, using `scaleBand` for the categorical country axis and `scaleLinear` for the numeric population scale. Data is loaded asynchronously from a CSV file via `d3.csv`, with population values multiplied by 1000 during preprocessing. SVG rendering handles the marks and axes, with tick formatting converting values into billions using D3's `format` function.

AI-generated description