Skip to main content
100%

Lets draw a bar chart

✓ Published0🌍 Public
Yyogichoudhary
Last edited Jun 3, 2020
Created on Jun 3, 2020

A horizontal bar chart displays employee salaries as bars animated from zero width to their final values. Data comes from a CSV file listing names and monthly salaries, converted to annual amounts. The visualization uses d3.scaleLinear, d3.scaleBand, axisLeft, and axisBottom. SVG rectangles are rendered in React with d3.v5, featuring interactive tooltips that appear on mousemove, highlighting bars via CSS class changes, and entrance transitions using transition().duration(300).

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes