convert c3 config into apex config - javascript

I have a website which is heavily invested in C3. We have lots and lots of chart configurations and alot of APIs which have been built in order to return C3 configuration to drive these charts. We want to move towards Apex charts and was wondering if there was any sort of 'dirty solution' for converting c3 charts config into apex charts config?
I am well aware of moving to Apex and rebuilding the configs would be the most suitable solution, just looking for something as a temp solution to delivery apex charts while we migrate configs in the background?
Tried googling for an NPM solution but couldn't find anything

Related

How would I go about making a seaborn categorical Plot in d3.js or the recharts library

This is the graph I want to replicate for a react application
This is the data
I could not find any implement using the "recharts" library online. If it's not possible or feasible with recharts, and solution with d3.js would be great.

displaying org charts in meteor js app

I have seen some options but I haven't tried trying thoroughly. But have you tried to generate an organizational chart in a meteor js app? If yes what libraries or packages did you use?
There are options to use chart js, but this does not include the org chart capability. My best bet is to use google charts but I'm still not 100% sure how I can make it work with meteor js.

Equivalent to Excel Slicers for Web Applications?

Is there an equivalent of Excel's slicers for Web applications?
Context... This is meant to be used in a web dashboard.
Some background for anyone not familiar with Excel slicers... Excel slicers allow you to quickly make a list of filters connected to your data source by simply selecting the desired field. In Excel, slicers are tied with pivot tables and charts to create powerful and interactive reports. Slicers can also connect with other slicers and give visual feedback on which items do not have data for a given selection (see image here showing various slicers around a chart - the greyed buttons do not have any data - this is known as cross-filtering).
Found so far... The closest thing I have found is CrossFilter.js and DC.js which work with the D3 charting library. However, development on Crossfilter and DC seemed to have stopped. I'm new to web development, so if there is a simple solution to this and I'm digging to deep - let me know!
Thank you for any help!!

Displaying graphs and charts in a rails app?

I am creating a web based app for plotting stock data adjusted for things like inflation, GDP, etc...
What gem / tools would you use to take some data and create charts / graphs in a Rails app?
Shawn
I am not aware of any gems for this since charts / graphs would be rendered through the browser so it is not concerned with whichever web framework. Data Driven Documents has some interesting things that it can do and it looks like it does what you need. All you need to do is feed it the right data through your back end technology.
This provides basic and more advanced functionality to integrate charts like pie, bar, line, etc... in your rails app by providing just one line of ruby code...
http://chartkick.com/
https://github.com/ankane/chartkick

JavaScript Charts API: Flot jQuery Plugin OR Google Visualization?

I am looking for a charts library to be displayed on a website. I will use intensively this library (for area, line and bar charts mainly), so I prefer to secure my choice before starting implementing.
The list of website chart libraries that I have initially considered are:
Plotkit
Emprise JS Charts
Sparkline
Protochart
gRaphael
Bluff
YUI Charts:
However after some researches on this forum and investigations on the web, I have reduced my candidate list to these two libraries:
Flot jQuery plugin
Google Visualization
Which one do you advise me to use and why (if you have worked with one or two of them, please tell me your feedback)?
How do they compare one to each other regarding ease of use, performance and features?
Thank you
EDIT: Based-Flash Chart libraries were not eligible with my constraints
I will try to answer my own question after some several tries and researches about these 2 visualization libraries, here are my own list of pros for each solution :
Flot Pros
jQuery plugin : if you are familiar with jQuery (or if your apps is integrated with jQuery), it seems natural to use Flot
Offline visualization : you can test or have it installed into an internal website. Google Visu can only work if you have acces to the google website !!
Customization : this is basically a JavaScript file so if you are good at JS coding, you can customize your charts as your convenience. Also the Flot plugin system allows you better modularity
Google Visualization Pros
Documentation : awesome ! Examples for each type of graphs are available in the Google site
Easy to use : Really. Easier than Flot (that requires to somehow customize the div container)
Powerful : you have many sorts of graphs and features (zooming, interactivity,...)
Java and Python API : it can helps a lot for constructing the Data Table (at least for me, I can use the Java API)
Bottom Line
If you are familiar with jQuery, go with Flot. If you need for some reasons to see your charts offline, go with Flot. If you want full control, go with Flot.
If you don't recognize yourself above, go with Google Visu. It's easy to learn and implement, very well documented and extremely powerful.
Not in your list, but I would recommend you have a look at Highcharts http://www.highcharts.com/
Highcharts is SVG, and as such, it is much more dynamic than Flot, you can restyle graphs with CSS, attach events, perform animations, etc...
It is also compatible with IE6 and it works server-side (thx to Batik)
I'm currently building a graph-intensive application, and chose Highcharts after lots of benchmarkings. I don't regret my choice.
The piwik project uses the Open Flash Chart (not on your list).
It's easy to use, has plenty of working examples very user friendly.
I am a user of Flot, and a big fan. I use it in a Grails application, and use stacked bar, line, and pie charts, including time-series and a bunch of interactive capabilities (i.e. turn off / on series with checkboxes, etc).
I found it to be a pleasure to work with overall, and feel the API is quite well developed (I saw that a bunch of other JS charting libraries adopted the API, so you'll even have some flexibility to move to another kit in the future). From looking at the google API just now for a minute, I think I like flot's better (although google may have ability to pass in a series as well, didn't see it from samples).
They just came out with a new version a few weeks ago (0.6), that supports plugins, which I expect will stimulate more innovation.
So I think part of this depends on other technologies you are planning to use. It seems like Visualization is integrated with GWT, so if you are thinking of using that, Visualization is the way to go. On the other hand, if you are thinking of using JQuery for AJAX, then Flot might be a more natural fit.
When I was making my decision to use this, it seems like Google didn't have interactive visualizations, only google charts (images), which is one of the reasons I went with Flot.
There is jqPlot (http://www.jqplot.com/), an open source project which looks good. Based on jQuery as well. I will give jqPlot a try, jQuery flot seems to be inactive.
Not in your list, but very impressive: ExtJS 4.0 charts

Categories

Resources