Skip to content

Instant XKCD-style Graphs created in Javascript D3 for your enjoyment

Notifications You must be signed in to change notification settings

Bomadeno/xkcdgraphs

 
 

Repository files navigation

Original xkcd.js script created by Dan Foreman-Mackey. Simple graph creation UI by Kevin Xu and Charlie Guo. Support for any javascript function by Bomadeno.

Use this tool to create graphs that clearly communicate "this is not precise". Great for visualizing stuff in a fun way, prototyping designs (game economies, stuff over time, etc)

  • sin(x) and cos(x)
  • x^2, -x^2, 2x, and 80
  • x * cos(x)
  • if(x<0) Math.sin(x); else x;

How does it look? Like this: Example Graphs

About

Instant XKCD-style Graphs created in Javascript D3 for your enjoyment

Resources

Stars

Watchers

Forks

Languages

  • JavaScript 74.5%
  • CSS 14.3%
  • HTML 11.2%