Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Product Sales Bar Chart

Public visualization

Product Sales Bar Chart

0 stars0🌍 Public
Aavvarijayakrishna99@gmail.com
Last edited Mar 3, 2023
Created on Mar 3, 2023

This bar chart displays product sales figures from a CSV file, with each product’s sales value represented by a steelblue bar. The visualization uses D3.js to create an SVG, scaling the x-axis with `d3.scaleBand` and the y-axis with `d3.scaleLinear`. Axis labels are rotated, and a title is added, all rendered via the D3 SVG API. Data is loaded asynchronously from a GitHub gist using `d3.csv`.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed