From c5f8e09207a1eb9c5de9664ee9b3b064518251c5 Mon Sep 17 00:00:00 2001 From: "D.C. Compton" Date: Tue, 1 Oct 2024 20:11:01 -0500 Subject: [PATCH] Update data location --- docs/demo/graph/d3.md | 2 +- docs/{static/data => demo/graph}/population-by-age.csv | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename docs/{static/data => demo/graph}/population-by-age.csv (100%) diff --git a/docs/demo/graph/d3.md b/docs/demo/graph/d3.md index e83d9c2..382baa8 100644 --- a/docs/demo/graph/d3.md +++ b/docs/demo/graph/d3.md @@ -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; diff --git a/docs/static/data/population-by-age.csv b/docs/demo/graph/population-by-age.csv similarity index 100% rename from docs/static/data/population-by-age.csv rename to docs/demo/graph/population-by-age.csv