Skip to main content
100%

ICE 5 Data Vizualization

✓ Published0🌍 Public
RRohith Reddy
Last edited Mar 9, 2023
Created on Mar 9, 2023
Forked from HTML Starter

This visualization displays a map of domestic flight routes using a static SVG image with an embedded base64-encoded JPEG background. A section at the top of the page presents metadata about the underlying dataset, including file size in kilobytes, row count, and column count. The code loads the flight route data programmatically from a GitHub Gist URL using `d3.csv()`. It then formats the data with `d3.csvFormat()` to calculate the size in kilobytes and accesses the properties `data.length` and `data.columns.length` to determine the number of rows and columns. The result is rendered into the page via the DOM property `textContent` on a `<pre>` element. The page itself is structured with HTML and styled with CSS, while the D3 library version 5 is loaded from a CDN.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes