This repository is for the tutorial Visualise your skills with D3.
The bubble chart is available Github Pages. 🔥
The chart use d3.csv()
to load the data. Function csv takes a parameter url
. This repository fetches CSV data from a CORS enabled endpoint.
The url
has to be CORS enabled. Therefore, you might get
Fetch API cannot load file:///PATH_TO_YOUR_FILE/data.csv.
URL scheme must be "http" or "https" for CORS request.
if url
is a local path, or it is a valid HTTP path but CORS disabled.
Here is a tutorial of exposing CSV data as an HTTP endpoint on Kubernetes 👉Deploy API on Kubernetes for free