Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

84c3b83cd0074f69b24dad8a834137e7

Vega-Lite API Template

0 stars0🌍 Public
RRoma
Last edited Oct 22, 2021
Created on Oct 21, 2021

This example demonstrates a Vega-Lite API template that displays a bar chart comparing Facebook usage and internet penetration across countries. The visualization encodes the Facebook date on the x-axis, internet users on the y-axis, and internet penetration as color, with tooltips showing country names. The code uses the vega-lite-api library with Vega, Vega-Lite, and d3.csv for data loading. Custom configuration enhances readability with larger font sizes and a dark color scheme, while the chart automatically fits the browser window dimensions.

AI-generated description

A visualization constructed using the vega-lite-api.