Skip to main content
100%

Fork of FICE-5: Loading and Parsing CSV Data with D3.js

✓ Published0🌍 Public
Ssaivinay143
Last edited Feb 25, 2022
Created on Feb 25, 2022

This example demonstrates how to load and parse a CSV dataset containing population figures for 50 US states and their capital cities. The page displays a styled heading and a preformatted text block that reports the dataset’s size in kilobytes, row count, and column count. The code uses D3.js v7’s `d3.csv` method to fetch the remote CSV file and `d3.csvFormat` to calculate its length. A static SVG illustration of the United States is embedded via an `<img>` tag, while text styling is handled with CSS.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes