Skip to main content
100%

Fork of Refactored_bar_chart

✓ Published1🌍 Public
Ssagar limbu
Last edited Jun 1, 2022
Created on Jun 1, 2022
Forked from Hello VizHub

This bar chart displays the 2020 population estimates for ten countries, using horizontal bars ordered by country name. The visualization is built with React and D3 v7, where `d3.scaleBand` positions the categorical y-axis and `d3.scaleLinear` maps population values to bar widths. SVG rectangles are rendered through the custom `Marks` component, with axes generated by `AxisBottom` and `AxisLeft`. The data originates from a CSV file of UN Population 2019 data, loaded asynchronously and processed to extract the 2020 values.

AI-generated description

// Creating individual MODULES for each functions // calling functions

MIT Licensed

Similar vizzes