Skip to main content
100%

ICE6 - Bar Chart

✓ Published0🌍 Public
Kkuraakhila9@gmail.com
Last edited Mar 19, 2024
Created on Mar 19, 2024

This bar chart displays Super Store sales totals across different states, sourced from a CSV of the first 100 records of the dataset. The visualization uses React to manage the data-fetching state and D3.js to render the scalable vector graphics (SVG) bars and axes. Specifically, `scaleBand` and `scaleLinear` position the bars, while custom tick rendering replaces default axes, with gridlines drawn in blue. The chart encodes sales values as bar lengths, making state-level comparisons straightforward. Data is loaded asynchronously via `d3.csv`, with each row’s `Sales` field converted to a numeric `Cost` value for plotting.

AI-generated description
MIT Licensed

Similar vizzes