Skip to main content
100%

Vega Lite Bar Chart

✓ Published0🌍 Public
AAlainRo
Last edited Oct 29, 2017
Created on Oct 29, 2017

This example shows a simple bar chart of nine categorical values labeled A through I plotted against their corresponding quantitative values. The visualization is built with Vega-Lite, using its declarative JSON specification to encode the x-axis as an ordinal field and the y-axis as a quantitative field, with a bar mark. The chart is embedded in an HTML page using the vega-embed library, which loads the Vega-Lite specification and renders it as an SVG via the Vega runtime. The data is provided inline within the specification, and the code references the Vega-Lite schema version 2.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes