Fork of A4_Bar-chart
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed