🌍 Public
Viewing a saved revision (read-only)
4b5696cdf3c24a27b1c0b2adc2eb0011
HTML Starter
This example shows a minimal HTML page that loads a CSV file containing country population data. The code uses D3’s `csv` function to fetch `data.csv`, then converts the population values from strings to numbers by multiplying each by 1,000. The processed data is logged to the browser’s console, demonstrating a basic data-loading and transformation workflow. The page itself consists of a simple empty `<div>` and relies on a bundled `bundle.js` file to execute the JavaScript.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.