Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart of BMW volume of sales with Hover

Public visualization

Bar Chart of BMW volume of sales with Hover

0 stars1🌍 Public
BBismark Kofi Owusu Sarfo
Last edited Oct 28, 2025
Created on Oct 28, 2025

This bar chart displays BMW sales volumes by region for 2022, using the `Sales_Volume` field from `data.csv`, aggregated via `d3.rollups`. Each bar is colored by its corresponding country, and hovering over a bar highlights it in black while dimming others, showing a tooltip with the exact sales figure. The visualization uses D3.js v7's SVG rendering, with scales created via `d3.scaleLinear` and `d3.scaleBand`, and interactive hover events implemented through D3's `.on('mouseover')` and `.on('mouseout')` handlers.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed