F1 BMW Global Sales Analytics Dashboard
This dashboard presents BMW sales analytics across a dark-themed interface, displaying key performance indicators, yearly trends, body style distribution, color breakdown, dealer regions, and a company-wise sales table. Users can filter data by region, body style, transmission, and fuel type through interactive dropdowns. The visualization uses D3.js v7 to render SVG charts with animated updates and tooltips, while clicking any chart opens a magnified modal view. The dashboard processes a CSV dataset of 49 BMW vehicle records, converting data types and computing aggregated metrics for real-time visualization.
AI-generated descriptionBMW Sales Dashboard
A professional, single-page dark-themed dashboard for analyzing BMW vehicle sales data with interactive filtering and real-time visualizations.
Features
- Single-Screen Layout: Fits entirely on laptop screens (1366×768 and above) without scrollbars
- Interactive Filtering: Filter data by Region, Body Style (Model), Transmission, and Fuel Type
- Real-Time Updates: All charts update instantly when filters change
- Dark Theme: Premium dark navy and charcoal color scheme with accent yellow-green highlights
- Responsive Charts: SVG-based visualizations that scale to fit their containers
- Magnifiable Charts: Click any chart to open an enlarged view in a modal with full interactivity
- Rich Visualizations:
- KPI Cards: BMW Total Sales, BMW Cars Sold, BMW Average Price
- Yearly Sales Trend (Bar/Line Chart)
- Sales by Body Style (Pie Chart)
- Sales by Color (Donut Chart)
- Sales by Dealer Region (Stacked Horizontal Bar)
- Company-wise Sales Table
Files
index.html- Main dashboard HTML with dark theme stylingscript.js- D3.js-based data visualization and interaction logicdata.csv- BMW sales dataset (49 records, 11 columns)
Data Structure
The dataset includes:
- Models: 3 Series, 5 Series, 7 Series, X1, X3, X5, X6, M3, M5, i3, i8
- Regions: Asia, Europe, North America, South America, Middle East, Africa
- Metrics: Price, Sales Volume, Mileage, Engine Size
- Attributes: Year, Color, Fuel Type, Transmission
Getting Started
- Save all files in the same directory
- Open
index.htmlin a modern web browser - Use the filter panel on the left to explore different data segments
- Hover over chart elements for detailed tooltips
- Click on any chart to magnify and explore in detail
Chart Magnification
All charts support magnification:
- Click or tap on any chart card to open an enlarged modal
- The magnified view includes:
- Full tooltips on hover
- Readable axis labels
- Complete interactivity
- Legend where applicable
- Close the modal by:
- Clicking the X button
- Clicking outside the modal
- Pressing the Escape key
Color Scheme
- Background: Dark Navy (#111827)
- Cards: Dark Charcoal (#1F2937)
- Text: Light (#F9FAFB)
- Accents: Yellow-Green (#FACC15)
- Chart Colors: Pink, Orange, Cyan, Purple, Emerald, Amber, Red, Blue, Indigo, Teal
Compatibility
- Modern browsers (Chrome, Firefox, Safari, Edge)
- Requires D3.js v7
- No server required - runs entirely client-side
Performance
The dashboard is optimized for:
- Fast filtering and re-rendering
- Smooth animations and transitions
- Responsive design that adapts to window resizing
- Efficient SVG rendering with viewBox for proper scaling