Skip to main content
100%

Fuel Consumption based on cars CSV Data

✓ Published0🌍 Public
AArjun Rao
Last edited Sep 9, 2020
Created on Sep 9, 2020

This example loads a CSV file of car fuel consumption data from a Gist and displays basic summary statistics about the dataset. It uses the D3.js v5 library to fetch and parse the CSV via `d3.csv` and `d3.csvFormat`, then renders the file size in kilobytes, the number of rows, and the number of columns in a large `<pre>` element. The visualization is minimal, focusing on data inspection rather than graphical representation. The data originates from a Kaggle dataset on fuel consumption, though no chart or plot is generated.

AI-generated description

A program that loads and parses some CSV data: [https://www.kaggle.com/sethirishabh/fuel-consumption]

This dataset sows how much fuel is consumed b a car based on fuel type and their statistics on highway. The description of the data can be viewed at:- (https://gist.githubusercontent.com/arjunrao796123/7decbbf770bdb176406f22e8d24069a7/raw/README.md).

MIT Licensed

Similar vizzes