Skip to main content
100%

Lab 4

✓ Published1🌍 Public
XXuân Vinh
Last edited Nov 2, 2023
Created on Nov 1, 2023
Forked from Lab3

This interactive bar chart displays the GRDP of Vietnamese provinces, with bars colored on a sequential orange scale and labeled by province name. Users can dynamically add or remove provinces via buttons, triggering transitions that highlight bars in green before restoring their color. Built with D3 v7, the visualization uses `scaleLinear`, `scaleBand`, `d3.axisBottom`, and `d3.axisLeft` to render SVG elements. Data is loaded as CSV from a remote URL, and each update clears and redraws the chart to reflect the current dataset.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes