Skip to main content
100%

ICE 5: Loading and Parsing CSV Data with D3.js

✓ Published0🌍 Public
SSaiSreya1
Last edited Jun 22, 2022
Created on Jun 21, 2022

This example demonstrates loading a CSV file of car data from a GitHub gist using D3.js version 7. It displays a summary message showing the file size in kilobytes, the number of rows, and the number of columns. The visualization uses D3’s `d3.csv()` to fetch and parse the remote data, then applies `d3.csvFormat()` to calculate its byte length. The result is rendered as plain text in a large `pre` element on an HTML page with CSS styling.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes