Skip to main content
100%

Fork of Viz_3

✓ Published0🌍 Public
NNikithakatta30
Last edited May 19, 2023
Created on May 19, 2023
Forked from Viz_3

This bar chart displays the top 10 countries with the highest depression rates (all ages) for the year 2019, using data from a CSV file filtered and sorted within the React app. It renders with SVG via D3 v5 and React, employing `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Horizontal bars show the percentage values, with axes generated by custom `AxisBottom` and `AxisLeft` components. The chart is rendered using ReactDOM, and hover tooltips are provided via SVG `<title>` elements.

AI-generated description

A program that shows the top 5 most populated countries as a bar chart.

Data: population dataset.

MIT Licensed

Similar vizzes