Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

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

0 stars2🌍 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

Comments

Sign in to join the discussion.

MIT Licensed