We’ve got a new video, about the Map data structure in JavaScript. We’ll take you through the basics of how to create and use Map, and then dive right into a fun example. Follow along as we read temperature data from a CSV file into an array using D3.js’s csv() method, and then use a Map to group the temperatures by year. Then we can use that Map to compute the average yearly high and low temperatures, and convert the data back into an array, ready for making a visualization. This is great practice for using Map in JavaScript, so join us and learn how to use Map.

You can get the data and the code from my github repo.

And if you’re interested in learning more about D3.js to visualize data then check out the WickedlySmart course How to visualize data with D3.js.

We wrote the book: with over a 1,000,000 books sold, we’ve created some of the industries top-selling software & technology titles. We teach the experts: you find us teaching on today’s premier training sites, like Lynda.com and Safaribook’s Online, and we’ve created digital experiences for a small, but exceptional group of industry leaders and luminaries. Throughout it all, we’ve applied our wickedly smart philosophy to get you there faster with amazing results. How can we help you?

We wrote the book: with over a 1,000,000 books sold, we’ve created some of the industries top-selling software & technology titles. We teach the experts: you find us teaching on today’s premier training sites, like Lynda.com and Safaribook’s Online, and we’ve created digital experiences for a small, but exceptional group of industry leaders and luminaries. Throughout it all, we’ve applied our wickedly smart philosophy to get you there faster with amazing results. How can we help you?

Don't miss out!

Don't miss out on brain-friendly WickedlySmart updates early access to books and general cool stuff! Just give us your email and we'll send you something about once a week. 

You have Successfully Subscribed!