02 Loading Data in D3
Making sure we can correctly load the data from local storage to the browser, and making sure it's correctly typed (dates are dates, numbers are numbers) when it gets there. *NB:* I left out a line at the end of the first video. As well as using `style.css` to set the font, we also use it to add a left-hand side margin, so the plot isn't as tight to the left-hand side of the screen as it would be by default. The style sheet is correct, but I didn't mention it in video copy. Sorry! Chapters 00:00 creating `graph.js` 01:00 VS Code's Rainbow CSV extension 03:25 Typing data as it's loaded 06:00 The seven elements of a D3 chart. *Links* An open letter to Mike Bostock: https://anthony-munnelly.com/blog/open_letter_mike_bostock/ D3 homepage: https://d3js.org/getting-started D3 download: https://d3js.org/getting-started About the Iris Dataset: https://en.wikipedia.org/wiki/Iris_flower_data_set Github code: https://github.com/amunnelly/d3-tutorial/tree/main/code/02
Download
0 formatsNo download links available.