Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lab04_MerceEscalante Ejercicio #2

Public visualization

Lab04_MerceEscalante Ejercicio #2

0 stars0🌍 Public
MMerceEscalante
Last edited May 14, 2021
Created on May 14, 2021

This visualization shows a bar chart of product names sorted by descending height, with tooltips displaying the height value for each bar. It uses the Vega-Lite API’s `markBar` method, encoding the x-axis by the nominal `name` field and the y-axis by the quantitative `height` field. The chart is rendered as an SVG via Vega-Lite and Vega, with data loaded asynchronously using D3’s `csv` function from a GitHub-hosted CSV file. Custom axis styling and font sizes are applied through a configuration object for improved readability.

AI-generated description

A visualization constructed using the vega-lite-api.

Comments

Sign in to join the discussion.

MIT Licensed