Skip to main content
100%

Employee bar chart

✓ Published0🌍 Public
Ssaideep1612@gmail.com
Last edited Mar 20, 2024
Created on Mar 19, 2024
Forked from Simple Bar Chart

This example visualizes employee data using two side-by-side bar charts rendered as SVG. The left chart displays BMI values, while the right chart shows grouped comparisons of height and weight for each employee. It loads data from a CSV file using D3’s `csv` method and builds scales with `scaleBand` and `scaleLinear`. Axes are generated via `axisBottom` and `axisLeft`, with rounded bars and rotated labels. React manages the component state, while D3 handles the rendering, making the dataset’s categorical and numerical dimensions directly comparable across the two panels.

AI-generated description
MIT Licensed

Similar vizzes