Skip to main content
100%

Fork of A4_Bar-chart

✓ Published0🌍 Public
Mmounishnaidu96@gmail.com
Last edited Mar 21, 2024
Created on Mar 21, 2024
Forked from A4_Bar-chart

A bar chart compares the populations of cities, with each bar colored steel blue and turning orange on hover, while a tooltip displays the city name and population value. The visualization is built with React and uses D3 v6 to load data from a CSV file via `d3.text`, parse it into an array, and render the chart as SVG. Axes are added with `d3.axisBottom` and `d3.axisLeft`, using a band scale for cities and a linear scale for population, with the chart including rotated x-axis labels and a title.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes