Skip to main content
100%

Fork of Rahul

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

This example shows a bar chart of average salaries by job title, with tooltips displaying each job title and its corresponding salary on hover. The chart is implemented as a React application using D3.js v6, rendering SVG bars that change from steel blue to orange when the user mouses over them. The visualization loads data from a CSV file containing job titles and salaries, then uses `d3.scaleBand` and `d3.scaleLinear` to map the data to bar positions and heights. It also includes rotated axis labels, a chart title, and axis labels for salary and job title.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes