Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Temperatura

Public visualization

Vega-Lite API Temperatura

0 stars0🌍 Public
Mmarquesjr79
Last edited Jan 10, 2022
Created on Jan 10, 2022

This bar chart visualizes population by country for 2015, with bars sorted in descending order and tooltips displaying exact population values on hover. The visualization is built using the Vega-Lite API, which programmatically constructs a Vega-Lite specification through methods like `markBar()` and `encode()`. Data is loaded asynchronously via `d3.csv` from a Gist hosted CSV file, and the chart renders to SVG using Vega. Custom styling is applied through a configuration object to adjust axis labels, ticks, and tooltip appearance.

AI-generated description

A visualization constructed using the vega-lite-api.

The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.

Comments

Sign in to join the discussion.

MIT Licensed