Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Fork of Vega-Lite API Template

0 stars0🌍 Public
PPascal Mausch
Last edited May 25, 2022
Created on May 24, 2022

A fork of the Vega-Lite API template displays renewable electricity percentages by country as a bar chart. The visualization, built with the d3.js and Vega-Lite API libraries, queries a CSV dataset from GitHub and transforms the data by stripping percentage symbols. The chart renders bars with hover tooltips, using a custom dark theme for improved readability, and automatically fits to the browser window size via the autosize configuration.

AI-generated description

A visualization constructed using the vega-lite-api.

Comments

Sign in to join the discussion.

MIT Licensed