Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
TTanviwalanj
Last edited May 9, 2023
Created on May 9, 2023

This example visualizes a dataset of Indian foods by plotting each dish as a point along two quantitative axes: course and preparation time. The points are rendered with low opacity and a large size, creating overlapping clusters that reveal density patterns across meal types and cooking durations. The visualization is built with the Vega-Lite API, using `vl.markPoint` and `.encode` to define the x and y fields, while D3’s `csv` loader fetches the data from a Kaggle-hosted CSV file. Custom axis styling and tooltip handling are configured via a separate config object and the Vega Tooltip handler.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes