Chapter 12. Data

Data visualization is one of the most active areas at the intersection of code and graphics and is also one of the most popular uses of p5.js. This chapter builds on what has been discussed about storing and loading data earlier in the book and introduces more features relevant to data sets that might be used for visualization.

There is a wide range of software that can output standard visualizations like bar charts and scatter plots. However, writing code to create visualization from scratch provides more control over the output and encourages users to imagine, explore, and create more unique representations of data. For us, this is the point of learning to code and using software like p5.js, and we find it far more interesting ...

Get Make: Getting Started with p5.js now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.