Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Barchart met RDW Data v6

Public visualization

Viewing a saved revision (read-only)

d0e21cb42bdf418e8a7ffc31147cdb94

Barchart met RDW Data v6

0 stars1🌍 Public
Nnadinevdbosch
Last edited Nov 18, 2020
Created on Nov 18, 2020

This bar chart displays three categorical values for two datasets, comparing taxis and passenger cars. Two buttons switch between the datasets, triggering a smooth animated transition of the rectangular bars. The visualization uses D3.js version 5 with SVG rendering, leveraging `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and the `.transition()` method for animations. The chart initializes with the passenger car data and updates bar positions, heights, and fill colors dynamically.

AI-generated description