Skip to main content
100%

Fork of let's make a list from a data file! (json)

✓ Published0🌍 Public
Rrobinjohn.inc@gmail.com
Last edited Aug 7, 2024
Created on Aug 7, 2024

This example displays a simple bulleted list of strings loaded from a JSON data file. It shows how D3 can fetch external data and use it to build DOM elements. The code uses the `d3.json` method to load `data.json` and then leverages D3's selection API to create `<li>` elements inside a `<ul>` via `selectAll`, `data`, and `enter`. Styling is minimal, with a body reset and a `.poop` class defined in CSS but not applied.

AI-generated description

basically this

MIT Licensed

Similar vizzes