Fork of A4_Bar-chart
✓ Published0🌍 Public
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.
MIT Licensed