Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ice 5 spectacles sales

Public visualization

Viewing a saved revision (read-only)

afe06b54ce274780ad17f961e619c856

ice 5 spectacles sales

0 stars0🌍 Public
Vveginetiumeshchandra@lbrce.ac.in
Last edited Oct 6, 2025
Created on Oct 5, 2025

This visualization displays annual sales figures for the top ten spectacle brands, using a bar chart where each bar's height represents millions of units sold. The chart loads CSV data from a GitHub Gist via `d3.csv` with `d3.autoType` for automatic data type inference. Bars are rendered as SVG rectangles using the `d3.scaleBand` and `d3.scaleLinear` scales, with axis labels created through `d3.axisBottom` and `d3.axisLeft`. Hovering over a bar changes its color from blue to orange.

AI-generated description