Skip to main content
100%

Viz - Bar - height width

✓ Published0🌍 Public
NNPashaP
Last edited Jan 7, 2018
Created on Jan 7, 2018

This example displays a bar chart of ten randomly generated values, each bar colored steelblue and mapped from a data array of key-value pairs. The visualization uses the `viz.bar()` function from the vizjs library, which is called directly on a SVG group element with a specified width and height of 400 pixels. The data is generated with `d3.range()` and `Math.random()`, and the chart is rendered as SVG within a static 960x500 canvas, using d3.v4 for selection and data utilities.

AI-generated description
gpl-3.0 Licensed

Similar vizzes