Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HTML Starter_ Akshitha Rapala

Public visualization

Fork of HTML Starter_ Akshitha Rapala

0 stars0🌍 Public
Aakshitha.rapala@gmail.com
Last edited Mar 6, 2024
Created on Mar 6, 2024

This example demonstrates loading and parsing a remote CSV dataset using D3 v7, displaying metadata about the data in a styled HTML page. It shows the data’s size in kilobytes, row count, and column count within a `<pre>` element. The page also embeds a static SVG illustration of a house, rendered via an `<img>` tag. The code uses `d3.csv()` to fetch and parse the data, then updates the DOM with template literals. CSS styles the heading and metadata display, while the SVG provides a simple visual anchor. The dataset is sourced from a GitHub gist URL.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed