Skip to main content
100%

Car Brands and Prices

✓ Published0🌍 Public
GGeniXiong
Last edited Aug 29, 2019
Created on Aug 29, 2019

This example demonstrates how to load and summarize a CSV dataset of car brands and prices using D3 v5. The visualization displays basic statistics about the data file, showing its size in kilobytes, the number of rows, and the number of columns in a large-text format. The code uses the `d3.csv` method to fetch and parse the remote CSV file, then leverages `d3.csvFormat` to calculate the data size. An alternative approach using `fetch`, `async`/`await`, and `d3.csvParse` is also provided as commented-out code.

AI-generated description
MIT Licensed

Similar vizzes