🌍 Public
Viewing a saved revision (read-only)
cf85e1297fef4dcd8c76f19c4a188973
Fork of 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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.