Skip to main content
100%

A10_BarChart White Hat

✓ Published0🌍 Public
DDuc Pham
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from A4_Bar-chart

This bar chart displays average salaries for various job titles, sourced from a CSV file fetched via `d3.text`. It uses `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis, rendering bars as SVG rectangles with steelblue fill. Interactive tooltips appear on mouseover, changing the bar color to orange and showing the job title and salary. The chart includes axis labels, a title, and rotated x-axis tick labels. The code also appends an explanatory paragraph noting the visualization's "White Hat" status due to its clear labeling and complete data presentation.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes