Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of A4_Bar-chart

Public visualization

Fork of A4_Bar-chart

0 stars0🌍 Public
Ppavan vasamsetti
Last edited Mar 21, 2024
Created on Mar 21, 2024
Forked from A4_Bar-chart

This bar chart visualizes average salaries by job title, with each bar’s height mapped to the population value from a CSV file loaded via `d3.text`. Built with D3 v6 in a React framework, it uses `d3.scaleBand` and `d3.scaleLinear` to position rectangles, includes interactive tooltips on hover that change bar color, and renders axes with `d3.axisBottom` and `d3.axisLeft`. The SVG output is styled with rotated x-axis labels and a title.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed