FICE-5: Loading and Parsing CSV Data with D3.js
✓ Published2🌍 Public
MMeghanaArepalli
Last edited Feb 28, 2022
Created on Feb 25, 2022
This example demonstrates how to load and parse a CSV dataset containing the population of 50 US states and their capital cities using D3.js. The page displays a header and a message showing the dataset's size in kilobytes, the number of rows, and the number of columns. It uses the `d3.csv` API to fetch the remote CSV file and the `d3.csvFormat` function to calculate its size. The visualization includes a static SVG map of the United States with state outlines rendered in green.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed