Skip to main content
100%

Vega Lite Bar Chart

✓ Published0🌍 Public
AAlainRo
Last edited Mar 7, 2018
Created on Mar 7, 2018

This example shows a simple bar chart of nine categorical values (A through I) plotted against quantitative values, using embedded data directly in the Vega-Lite specification. It renders as a static, SVG-based visualization with ordinal x-axis and quantitative y-axis encodings. The code uses the Vega-Lite 2.0.0-rc5 library and the Vega 3.0.6 runtime, parsing the `vlSpec` object and creating a `vega.View` with SVG rendering. The chart is initialized in the `#vis` div, with hover event processing enabled, though no interactive behavior is demonstrated beyond that.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/AlainRo/'>AlainRo</a>'s block: <a href='http://bl.ocks.org/AlainRo/2b76eafc5add50ceb707179fb2040c27'>Vega-Lite</a>

mit Licensed

Similar vizzes