Skip to main content
100%

ICE-BONUS Iteractive Bar Chart

✓ Published1🌍 Public
PPY09052021
Last edited Mar 11, 2022
Created on Mar 11, 2022
Forked from Hello VizHub

This interactive bar chart displays monthly car sales data for 34 brands, letting users switch between months via a dropdown menu. Built with D3 v3, it renders SVG rectangles whose heights transition smoothly when the selected month changes, with hover highlighting in orange. The x-axis uses an ordinal scale for brand names, while the y-axis linear scale adjusts dynamically using d3.svg.axis and transition calls. Data comes from a local CSV file with twelve monthly columns per brand.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes