Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Remove redudndant slash in CSV URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
31z4 committed Nov 2, 2023
1 parent 091e697 commit 350c7c4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions web/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -737,15 +737,15 @@ function plotActiveNodeDistribution(data) {

// Concurrently download all data.
const text = await Promise.all([
d3.text(dataUrl("/saturn_active_node.csv")),
d3.text(dataUrl("/saturn_active_node_stats.csv")),
d3.text(dataUrl("/saturn_country_stats.csv")),
d3.text(dataUrl("/saturn_traffic.csv")),
d3.text(dataUrl("/saturn_active_node_by_country.csv")),
d3.text(dataUrl("/saturn_traffic_by_country.csv")),
d3.text(dataUrl("/saturn_earnings_by_country.csv")),
d3.text(dataUrl("/saturn_retrievals.csv")),
d3.text(dataUrl("/saturn_traffic_ratio.csv")),
d3.text(dataUrl("saturn_active_node.csv")),
d3.text(dataUrl("saturn_active_node_stats.csv")),
d3.text(dataUrl("saturn_country_stats.csv")),
d3.text(dataUrl("saturn_traffic.csv")),
d3.text(dataUrl("saturn_active_node_by_country.csv")),
d3.text(dataUrl("saturn_traffic_by_country.csv")),
d3.text(dataUrl("saturn_earnings_by_country.csv")),
d3.text(dataUrl("saturn_retrievals.csv")),
d3.text(dataUrl("saturn_traffic_ratio.csv")),
]);

const active_node_data = parseActiveNode(text[0]);
Expand Down

0 comments on commit 350c7c4

Please sign in to comment.