Skip to main content
100%

Fork of Types of vehicles for a fuel type - Adam Usmani

✓ Published0🌍 Public
AAdam Usmani
Last edited Apr 14, 2021
Created on Apr 14, 2021

This visualization shows the distribution of 746 car models across vehicle classes, colored by fuel type, with tooltips revealing the make and model of each vehicle. It uses a bar chart where the y-axis counts the number of models per vehicle class, and the color encoding distinguishes fuel types. Built with the vega-lite-api and vega-lite library, the chart loads CSV data from a GitHub Gist and renders interactively using vega-tooltip for hover details. The visualization adapts to the full window size with a customized dark theme.

AI-generated description

A visualization constructed using the vega-lite-api.

The data shown here comes from the Kaggle, via Gist].

Having completed a few weeks in Data visualization, I am getting comfortable with the js setup. The data on the right is a representation of 746 car models based on their vehicle type and fuel color. Upon hovering over any point on the data, we can see the make and model that has been counted. There is a lot of information from just a bar graph and more can be done by providing a couple of parameters. I look forward to bringing out the creative side in me thorugh these visualizations.

MIT Licensed

Similar vizzes