Live data from Hacker News

Show HN: Create Javascript charts with one line of Ruby

ankane.github.io

61–64 of 64 posts

Re: Show HN: Create Javascript charts with one line of Ruby

#61
post #43
post #6

The ruby wrapper lib around the JS is dead simple. Could be ported to any language with ease. Very nice work! https://github.com/ankane/chartkick/blob/master/lib/chartkic...

We are building something similar for Django/Python: https://github.com/agiliq/django-graphos I am going to pick up some ideas from your code.

shabda - this is great. i'm going to try this out and contribute some more graph types over the next few weeks.

Re: Show HN: Create Javascript charts with one line of Ruby

#62
post #58
post #35

Earlier quoted context omitted.

it's called interpolation.

Using straight lines between points has an even fancier name: " Linear interpolation," which, by your logic, still means it's a better idea.

I agree that in this case it's stupid, but for some data it can make sense. But I think people use bezier curves and higher order interpolations on these types of demos because smooth lines look more visually appealing somehow.
Post reply on HN