Skip to main content
100%

Srividya Bargraph

✓ Published0🌍 Public
Ssrividyamadas@gmail.com
Last edited Mar 21, 2024
Created on Mar 20, 2024

This example visualizes the population of Indian states in 2011 as a bar chart. The chart uses a vertical bar for each state, with the height encoding the population value, and includes labeled axes for states and population. The code utilizes D3 v7’s `scaleBand`, `scaleLinear`, `axisBottom`, and `axisLeft` APIs to render the SVG, with bars colored steelblue and a hover effect. Population data is loaded from a CSV file via `d3.csv` with `d3.autoType`, and the chart is displayed alongside an analysis section.

AI-generated description
MIT Licensed

Similar vizzes