Skip to main content
100%

sales_dataset_bar_chart

✓ Published0🌍 Public
SSreedevi Itta
Last edited Oct 19, 2025
Created on Oct 19, 2025
Forked from HTML Starter

A horizontal bar chart displays total profit by region, ranked from highest to lowest. It aggregates values from a remote sales_dataset.csv file using d3.csvParse and d3.rollup. The visualization uses D3 v7 with SVG rendering, employing d3.scaleBand for the y-axis, a linear scale for the x-axis, and a linear color scale transitioning from orange to yellow. Profit values are labeled at the end of each bar.

AI-generated description
MIT Licensed

Similar vizzes