Skip to main content
100%

Read in JSON department files

✓ Published1🌍 Public
NNourAldinAlmubarak
Last edited Mar 31, 2020
Created on Mar 31, 2020

This example demonstrates how to load and integrate data from multiple JSON files using D3.js v5. It reads two datasets—department names and course pathways—via `Promise.all` and `d3.json`, then logs both to the console. The visualization renders a list of course names as plain text paragraphs, appended to the body with `d3.select("body").selectAll("p")` and `.data(pathwaysData)`. The code highlights asynchronous data loading and simple data binding without any graphical marks or scales.

AI-generated description
MIT Licensed

Similar vizzes