Posted to

Coding

Arduino Workshop, a good book for getting started

I started working through Arduino Workshop by John Boxall over the holidays, and it's a lot of fun so far. I highly recommend it if you're thinking about getting into…

Accessible Web visuals and code with p5.js

Visualization on the Web can be tricky for those unfamiliar with code. The new JavaScript library p5.js, developed by Lauren McCarthy and collaborators, aims to make your first steps easier…

Responsive data tables

Alyson Hurt for NPR Visuals describes how they make responsive data tables for their articles. That is, a table might look fine on a desktop but then it might be…

Optimizing your R code

Hadley Wickham offers a detailed, practical guide to finding and removing the major bottlenecks in your R code. It's easy to get caught up in trying to remove all bottlenecks.…

Create a barebones R package from scratch

While we're on an R kick, Hilary Parker described how to create an R package from scratch, not just to share code with others but to save yourself some time…

R for cats and cat lovers

Following the lead of JavaScript for Cats by Maxwell Ogden, Scott Chamberlain and Carson Sievert wrote R for Cats. It's a playful introduction to R intended for those who have…

Introducing R to a non-programmer, in an hour

Biostatistics PhD candidate Alyssa Frazee was tasked with teaching her sister, an undergraduate in sociology, how to use R. She had only one hour. Once you load in a dataset,…

Live Coding Implemented

Remember Bret Victor's live coding talk from last month? He presented an example where he would edit code on one side, and the corresponding visual would automatically update on the…

Programming gets you freedom to do what you want with data

Casey Reas and Chandler McWilliams asked visual designers why they write their own software and how it affects their process: The answers reflect the individuality of the designers and their…

Sorting algorithms demonstrated with Hungarian folk dance

We've seen sorting algorithms visualized and auralized, but now it's time to see them through the spirit of Hungarian folk dance. In a series of four videos (so far), folks…

Code to make your own movie barcodes available

You know those compressed movie barcodes that we saw last week? Here's a Python script by BenoĆ®t Romito to make your own. Run a .avi format movie through, and voila.…

Why everyone should learn programming

Daniel Shiffman, assistant professor at the NYU Interactive Telecommunications Program, talks programming, computation, data, and why everyone should learn programming in this interview by Mark Webster. It's not just about…

How to Make Your Own Twitter Bot – Python Implementation

Following up on my post last week about using Twitter to track eating and weight, some of you voiced some interest in creating your own Twitter bot. This post covers…