Live data from Hacker News

Show HN: Easy SVG charts for your static site, no JavaScript

chartspree.com

11–20 of 43 posts

Re: Show HN: Easy SVG charts for your static site, no JavaScript

#11
"no Javascript" is very misleading. There are several tags embedded in each svg, including at least two scripts that are loaded from external sources.

In fact, nearly 1/3 of the data transferred for the first graph is javascript[0].

https://gist.github.com/hughes/c876b02aa06f897c99e2

Re: Show HN: Easy SVG charts for your static site, no JavaScript

#12
Not to nitpick or anything, but the first example on the site shows a bar chart with the example code being:

However the actual embedded code for the example and the resultant chart is:

My immediate reaction to seeing the wrong chart being displayed for some example code was that your system just didn't work properly.

As this is the first thing anyone sees when visiting the project, it might be a good thing to change.

Re: Show HN: Easy SVG charts for your static site, no JavaScript

#14

One small thing is that the responses aren't consistent. For example, sometimes this is funny, and sometimes it isn't, depending on which label is assigned to which color (seemingly random). http://api.chartspree.com/pie.svg?Crips=35&Bloods=20

I agree it's odd that the order isn't consistent, but I don't get the joke which ever way it is, what am I missing?

Re: Show HN: Easy SVG charts for your static site, no JavaScript

#15

One small thing is that the responses aren't consistent. For example, sometimes this is funny, and sometimes it isn't, depending on which label is assigned to which color (seemingly random). http://api.chartspree.com/pie.svg?Crips=35&Bloods=20

I agree it's odd that the order isn't consistent, but I don't get the joke which ever way it is, what am I missing?

The color of each gang is quite important.

Re: Show HN: Easy SVG charts for your static site, no JavaScript

#16
post #3

Nice, but its a re-implementation of the Google Chartserver right? (same model, URL describes charts which are returned) The issues Google ran into were as it gets popular you need a more server horse power, and the work of keeping things secure is pretty high. That said I always enjoyed using chartserver :-) so I presume I would enjoy using this. But what I'd really like is a package for python or perl I could load…

I work for the team that maintains Chartserver. It's being deprecated for a number of reasons, none of which you've listed. Mostly, we feel the service has been replaced by JS charting solutions (Google Charts, d3, etc.) which are more flexible and don't have the privacy concerns of Chartserver. Most importantly, the team that developed it has moved on to other work and it hasn't been restaffed.

We revisit the deprecation of Chartserver every couple of months (I believe it's had two stays of execution), so there might be some life left in that old code.

Re: Show HN: Easy SVG charts for your static site, no JavaScript

#17
post #4
post #3

Nice, but its a re-implementation of the Google Chartserver right? (same model, URL describes charts which are returned) The issues Google ran into were as it gets popular you need a more server horse power, and the work of keeping things secure is pretty high. That said I always enjoyed using chartserver :-) so I presume I would enjoy using this. But what I'd really like is a package for python or perl I could load…

I don't think Google Chartserver offered SVG, though, did it? I think that's a significant difference, in that the variant of this API has the potential for access to the chart elements for styling and interactivity.

Well Chartserver did offer SVG at one point, although at the time SVG was (and kinda still is) under supported in the browser space AFAICT.

Having recently rediscovered the non-joy of putting somebody else's javascript on a page (in that case WebRing) I am a bit gun shy of the whole model[0].

I really like the idea of 'server driven charts' for easy web pages and illustration. But I would rather have it be something I could put on an Raspberry Pi in my network so that I didn't have to worry either about the privacy issues or it going away (as Chartserver has been trying to do :-).

[0] Imagine what will happen if placekitten.com gets sold to some porn aggregator.

Re: Show HN: Easy SVG charts for your static site, no JavaScript

#19
post #3

Nice, but its a re-implementation of the Google Chartserver right? (same model, URL describes charts which are returned) The issues Google ran into were as it gets popular you need a more server horse power, and the work of keeping things secure is pretty high. That said I always enjoyed using chartserver :-) so I presume I would enjoy using this. But what I'd really like is a package for python or perl I could load…

I work for the team that maintains Chartserver. It's being deprecated for a number of reasons, none of which you've listed. Mostly, we feel the service has been replaced by JS charting solutions (Google Charts, d3, etc.) which are more flexible and don't have the privacy concerns of Chartserver. Most importantly, the team that developed it has moved on to other work and it hasn't been restaffed. We revisit the deprec…

When is it depreciated exactly. Says 2015, but is that going to be January, or December? (I need to replace them in my app at work).

Re: Show HN: Easy SVG charts for your static site, no JavaScript

#20
Nice! We just built a feature in our app using the deprecated chart service that Google offers. This looks like a much nicer implementation. But I lack a few things. Here are som ideas for improvement:

- Let me choose the colors

- Let me add or remove bullets on the line charts

- Let me control the axes

- Let me add a grid

Love it! Keep it up.

Post reply on HN