Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Making a barchart

Public visualization

Viewing a saved revision (read-only)

09055eb4e17b4b648e9194fc3e9d244c

Fork of Making a barchart

0 stars0🌍 Public
GGinnWG
Last edited Oct 10, 2022
Created on Oct 10, 2022
Forked from Making a barchart

This bar chart shows total sales by product category, using data loaded from a CSV file. The visualization is built with D3 v6 and rendered as SVG, applying linear scaling to sales values and band scaling to categories. It uses `d3.csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the chart, with each rectangle’s height and width determined by the data values. The data is preprocessed by converting sales strings to numbers.

AI-generated description