Chartist – Simple responsive charts
gionkunz.github.io
gionkunz.github.io
If a hover tooltip has a clickable content then yes, using on click to lock the tooltip in place is a good idea. For example, hover navigation with subcategories can be awkward to use and on click navigation is a better choice here. But for a simple caption in an interactive chart it would be an overkill on desktops.
ADDING BEHAVIOR TO YOUR CHARTS
Coming soon...
Hopefully that means enabling chart interaction. Of course, by the time they add in the basic functionality which make data visualization useful, they'll have just repro'd ChartJs, HighCharts, or any of those other libraries.
http://davidjarvis.ca/world-politics/xml/resources.xml
The source code is hosted on BitBucket:
https://bitbucket.org/djarvis/world-politics/src/master/xml/
Without JavaScript, the interactivity of the charts is limited.
Also most data is in CSV or similar delimited format and won't be usable with XSLT.
https://recipefiddle.com/recipe/15316/truffles (web page)
http://i.imgur.com/T71WhDJ.png (editor)
https://recipefiddle.com/book/examples/recipefiddle_sweet_tr... (printable ebook)
https://recipefiddle.com/book/examples/recipefiddle_sweet_tr... (recipe cards)
Each recipe was created from the same XML recipe data, transformed using two different templates. To my knowledge, JSON cannot be directly transformed into *TeX, but XML can.
To achieve the similar results with JSON, you'd have to first transform it to YAML, then Pandoc, then LaTeX, then finally PDF. Then you'd have to use a different infrastructure to render JSON as XHTML.
Architecturally, in this case, XML/XSLT is the simpler solution. If you only care about mobile apps, and don't need to create beautiful ebooks, then XML/XSLT is not a good choice.
I suspect XSL has fallen out of favor because a lot of people don't have XML anymore, they instead have JSON which is more naturally processed using a JS library (per the OP).
In order to process JSON with XSL you'd have to go through the rigmarole of first converting it to XML and then exporting that as an iFrame which can then be rendered into HTML/CSS/JS via XSL. And nobody has got time for all of that, least of all when we care about creating "mobile first" properties which XLS was just never designed for (and, yes, the underlying HTML/CSS which it outputs CAN be designed for mobile-first, but XSL itself offers no functionality there).
TL;DR: I'd never go XSL in 2014 unless I already had XML. It offers little or nothing if your data source is either straight from the database or JSON (just adds an additional intermediate layer, you'll still ultimately outputting to JS/HTML/CSS). It does remain useful for generating CSV however (as you can set the output encoding type to text, strip XML headers, and so on). Which is not true for JavaScript.
This library looks to appease a lot of the design customization so far though, great job and kudos to the author for what looks like a really good start.
Noting that Chartist is much leaner than Highcharts, how do you envision differntiating this project and avoid feature creep to make it like Highcharts.js 2.0?
In an ideal world (for software and hardware vendors, at least) we would be replacing devices with their latest versions as soon as they come out and backward compatibility wouldn't be a problem. However, I can imagine a situation where spending $100 on a new phone is a luxury and not everyone can afford it. If a phone makes calls, sends text messages, and connects to the Internet, it's still usable.
Like XP, Gingerbread has unpatched security vulnerabilities. Having a mobile phone with up-to-date security is well worth spending $99 (for a Moto G, for example).
I get that not everyone can afford something like that, but it's like car insurance. You absolutely can't afford to have your identity stolen.
I agree that having your identity stolen is something you cannot afford. But then again we are both frequenting Hacker News so we are aware of how technology works and how damaging compromised security can be. An average user however might not realize that an outdated Android version has unpatched vulnerabilities. They are just happy that they can send Snapchat messages to their friends and can watch Youtube videos when they are waiting for a bus.
Also, how long before Moto G stops being supported with updates and becomes vulnerable as well? What should happen next?
I will definitely keep an eye on this project though.
Is there any chart system that is made with live updating in mind?
And it's built on top of d3, so the possibilities for customization are almost limitless (as another commenter has said).
InkScape - http://www.inkscape.org/en/
Karbon - https://userbase.kde.org/Karbon
I was going to try and copy/paste into Outlook, but that's obviously no-go if you cannot copy at all. Interesting limitation of SVG that I wasn't aware existed until now.
var canvas = document.getElementById("canvasElement");
var image = canvas.toDataURL("image/png");
document.write('<img src="' + img + '">');
File a bug report?
I was following several issues that the author wasn't even responding to, even though many people were asking after it. Around 25% of the issues are a year old, and many more are 8+ months old.
Finally, someone made a fork of the project with a lot of the requests that people were making. A "people's fork" wouldn't have been created if it were sufficiently active.
If you pre-generated them with something like node.js, you might be able to.
Looks cool though.