Skip to main content
100%

Fork of A4_Bar-chart

✓ Published0🌍 Public
Ppavan vasamsetti
Last edited Mar 21, 2024
Created on Mar 21, 2024
Forked from A4_Bar-chart

This bar chart visualizes average salaries by job title, with each bar’s height mapped to the population value from a CSV file loaded via `d3.text`. Built with D3 v6 in a React framework, it uses `d3.scaleBand` and `d3.scaleLinear` to position rectangles, includes interactive tooltips on hover that change bar color, and renders axes with `d3.axisBottom` and `d3.axisLeft`. The SVG output is styled with 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