update: csv link for bubble chart
Browse files
foodviz/pages/frontend/bubble.html
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
color: white;
|
23 |
padding: 5px 10px;
|
24 |
border-radius: 5px;
|
25 |
-
font-size:
|
26 |
pointer-events: none;
|
27 |
opacity: 0;
|
28 |
transition: opacity 0.3s;
|
@@ -57,7 +57,7 @@ const tooltip = d3.select(".tooltip");
|
|
57 |
|
58 |
async function getData() {
|
59 |
try {
|
60 |
-
return await d3.csv('https://raw.githubusercontent.com/p1utoze/FoodViz/refs/heads/main/
|
61 |
} catch (error) {
|
62 |
console.error("Error loading CSV:", error);
|
63 |
throw error;
|
|
|
22 |
color: white;
|
23 |
padding: 5px 10px;
|
24 |
border-radius: 5px;
|
25 |
+
font-size: 24px;
|
26 |
pointer-events: none;
|
27 |
opacity: 0;
|
28 |
transition: opacity 0.3s;
|
|
|
57 |
|
58 |
async function getData() {
|
59 |
try {
|
60 |
+
return await d3.csv('https://raw.githubusercontent.com/p1utoze/FoodViz/refs/heads/main/foodviz/data/food-types.csv');
|
61 |
} catch (error) {
|
62 |
console.error("Error loading CSV:", error);
|
63 |
throw error;
|