Skip to main content
100%

Hello D3 Version 6

✓ Published0🌍 Public
Mmgl12432
Last edited Aug 29, 2020
Created on Aug 29, 2020
Forked from Hello VizHub

This example introduces D3 version 6 by rendering eight colored rectangles as a bar chart. Each rectangle animates its height upward over 1343 milliseconds using the `transition` method. The code selects a `.canvas` div, appends an SVG of 600 by 600 pixels, and iterates through an inline array of objects containing `size` and `color` properties. It uses `d3.select`, `append`, `attr`, and `transition` to position and animate the bars, demonstrating basic SVG creation and data binding.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes