Skip to content

Commit

Permalink
Update data location
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisCompton committed Oct 2, 2024
1 parent 29f221c commit c5f8e09
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/demo/graph/d3.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ theme: notebook
// Example from: https://observablehq.com/@d3/donut-chart/2
// data = FileAttachment("./population-by-age.csv").csv({typed: true})

d3.csv("/static/data/population-by-age.csv", d3.autoType).then(data => {
d3.csv("population-by-age.csv", d3.autoType).then(data => {
const width = 500; // Define width
const height = Math.min(width, 500);
const radius = Math.min(width, height) / 2;
Expand Down
File renamed without changes.

0 comments on commit c5f8e09

Please sign in to comment.