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 displays average salaries by job title for U.S. states, with each bar’s height representing the population value. The visualization uses D3.js v6 to fetch CSV data from a Plotly-hosted dataset, parse it client-side, and render an SVG with axes and tooltips. Hovering over a bar changes its fill to orange and reveals a tooltip with the job title and salary. The chart applies a band scale for categorical x-axis labels, a linear scale for the y-axis, and rotates tick labels for readability.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes