Creative Coding and Data Visualization with P5 Js

Author: Scott Murray
Publisher: O'Reilly Media
ISBN: 1491951907
Release Date: 2017-06-25
Genre: Computers

Good news for artists, designers, educators, and beginners with no programming experience: with the p5.js JavaScript library and this hands-on guide, you'll use a sketchpad approach learn the fundamentals of computer programming and data visualization right in your own web browser. p5 is the native JavaScript alternative to Processing, the language and environment that helps non-programmers learn how to program with the aid of visual feedback. While Processing provides its own sketchpad environment, p5 and its full set of drawing tools enable you to sketch in the browser. Author Scott Murray provides the first in-depth book on p5 to cover all of the exciting possibilities of using Processing-like code on the Web. You'll learn how to: Make your project run in full-screen mode for maximum visual effect Reach beyond the canvas and interact with other elements on the page Exchange information between p5 and JavaScript proper Load data into a sketch (CSVs, JSON, web APIs) Express data visually, mapping data values to visual properties Take advantage of native browser input elements (such as buttons and dropdown menus) to control interactive visualizations

Interactive Data Visualization for the Web

Author: Scott Murray
Publisher: "O'Reilly Media, Inc."
ISBN: 9781491921326
Release Date: 2017-08-03
Genre: Computers

Create and publish your own interactive data visualization projects on the web—even if you have little or no experience with data visualization or web development. It’s inspiring and fun with this friendly, accessible, and practical hands-on introduction. This fully updated and expanded second edition takes you through the fundamental concepts and methods of D3, the most powerful JavaScript library for expressing data visually in a web browser. Ideal for designers with no coding experience, reporters exploring data journalism, and anyone who wants to visualize and share data, this step-by-step guide will also help you expand your web programming skills by teaching you the basics of HTML, CSS, JavaScript, and SVG. Learn D3 4.x—the latest D3 version—with downloadable code and over 140 examples Create bar charts, scatter plots, pie charts, stacked bar charts, and force-directed graphs Use smooth, animated transitions to show changes in your data Introduce interactivity to help users explore your data Create custom geographic maps with panning, zooming, labels, and tooltips Walk through the creation of a complete visualization project, from start to finish Explore inspiring case studies with nine accomplished designers talking about their D3-based projects

Getting Started with p5 js

Author: Lauren McCarthy
Publisher: Maker Media, Inc.
ISBN: 9781457186738
Release Date: 2015-10-12
Genre: Computers

With p5.js, you can think of your entire Web browser as your canvas for sketching with code! Learn programming the fun way--by sketching with interactive computer graphics! Getting Started with p5.js contains techniques that can be applied to creating games, animations, and interfaces. p5.js is a new interpretation of Processing written in JavaScript that makes it easy to interact with HTML5 objects, including text, input, video, webcam, and sound. Like its older sibling Processing, p5.js makes coding accessible for artists, designers, educators, and beginners. Written by the lead p5.js developer and the founders of Processing, this book provides an introduction to the creative possibilities of today's Web, using JavaScript and HTML. With Getting Started with p5.js, you'll: Quickly learn programming basics, from variables to objects Understand the fundamentals of computer graphics Create interactive graphics with easy-to-follow projects Learn to apply data visualization techniques Capture and manipulate webcam audio and video feeds in the browser