Skip to main content
100%

Building a bar chart

✓ Published0🌍 Public
TTollyCoburn
Last edited May 22, 2020
Created on May 22, 2020

Five purple bars display a small static dataset, with bar height proportional to values of 100, 250, 175, 200, and 120. Using D3 v4, the SVG selects all rectangles, binds the data, and appends a rect for each entry, setting x positions by index and y based on a fixed chart height minus the value. The bars are filled purple with white strokes, and the SVG fills the entire viewport.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes