Code Monkey home page Code Monkey logo

chartjunk's Introduction

#chartjunk

A while ago I made a sparkline font at the khan academy when i was working with david hu on creating more forgiving streak bars. Instead of writing some obtuse homebrew canvas script that would be hard to maintain i thought: why not use a font to represent the same thing? The text then, could be meaningful, and you'd have the advantage that the sparkline display would gracefully degrade.

We tried it out and the project went another way, but the font remained in its pre-v1 stage. It's not such a terrible idea but it could use some more work (i.e. the comma could be a zero-width character to make rerendered chartjunk legible again). Please edit, hack, update, do whatever (but please, only for good, never evil).

In this project, i'm providing it both as a css base64 encoded font (for webpages), as a UFO file and also as an OTF. I don't have any current intent to support this at the moment, but sparklines are always interesting and having tools available for implementing them is always nice.

There are probably other tools that do this better, so you're probably better off using those, but if you like this, then hooray!

license JSON for the js, OFL for the font.

chartjunk's People

Contributors

nsfmc avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.