Skip to main content
100%

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

✓ Published2🌍 Public
Zzach b.
Last edited Nov 16, 2021
Created on Nov 16, 2021

This example renders a simple bulleted list from a JSON data file using D3.js. It demonstrates loading external data with `d3.json` and binding an array of strings to list items via `selectAll('li').data()` and the `.enter().append('li')` pattern. The data file contains repeated "one" strings and a final phrase, which are displayed as text inside each `<li>` element. The page consists of a bare `<ul>` element, with all list creation handled programmatically in JavaScript.

AI-generated description

basically this

MIT Licensed

Similar vizzes