Skip to main content
100%

Fork of Airlines

✓ Published0🌍 Public
NNagasharan Sai Nandyala
Last edited Mar 18, 2025
Created on Mar 18, 2025
Forked from Airlines

This example demonstrates basic data loading and parsing by displaying a summary of flight information from a small, hardcoded CSV dataset. The visualization shows the file size in kilobytes, the total number of rows, and the column count within a styled HTML container. The code uses D3.js v5, specifically the `d3.csvParse` function to convert the CSV string into a JavaScript array of objects. It then retrieves the dataset's dimensions via `data.length` and `data.columns.length` and injects the result into the page using standard DOM manipulation through `document.getElementById`.

AI-generated description
MIT Licensed

Similar vizzes