Archive for the ‘Javascript Component’ Category

Reductio, NaN filtering

October 12, 2014

Stats, JS: Reductio NaN filtering

Published October 2014

Reductio requires clean and complete data. Having several use-cases where data is either sparse or may contain NaN values in a dataset, and prefering not to pre-filter data just for Reductio, I prototyped a small change to Reductio to filter NaN’s. It worked well, so an Issue was submitted to Reductio Github.

Since there are some costs to me for these efforts, if you find value in any of my work, please consider a donation.

Please consider a donation if you find value in my free/open source contributions.

Advertisements

Reductio, StDev

October 8, 2014

Stats, JS: Reductio StDev

Published October 2014

I had a need to add statistics to SLIDcES, and found Reductio, but it was missing Standard Deviation. A short time later, and EthanJ had incorporated my contribution. Thanks esjewett for a quick turnaround.

Since there are some costs to me for these efforts, if you find value in any of my work, please consider a donation.

Please consider a donation if you find value in my free/open source contributions.

DC.js 2.0.0-dev Pareto + Workaround

May 24, 2014

JS: dc.js (workaround, line/bar composite)

Published: May 2014

When I created a DC.js Pareto chart, as a composite of barChart and lineChart, I found the line chart’s samples and xaxis ordering wasn’t consistent – The lines between sample points were jumbled, but the point Y values were correct. So I implemented a workaround. I found a new entry concerning this issue in the DC issues list, along with a question about it on SO. I created the following plunker to demonstrate the workaround.

http://embed.plnkr.co/VItIQ4ZcW9abfzI13z64/preview

https://github.com/dc-js/dc.js/issues/598

Please, if you find my contribution useful, consider a donation. Thanks.

Please consider a donation if you find value in my free/open source contributions.

DC.js, Dynamic Table Column Headers

March 31, 2014

JS: dc.js

Published: March 2014

If you haven’t already discovered d3.js, crossfilter.js and dc.js, you might want to take a look. I’ve recently started using it for both personal and professional uses, to generate reactive charts that also allow you to slice-n-dice your data. I’ll post more on what I’m doing with dc.js in the future.

I found that dc.js had no provision for ‘dynamic’ column headers for the ‘table’ functionality, and I needed that so I could use one web page to view different source data, instead of coding a specific page for each table view. So my first contribution to dc.js’s github was just submitted in the hopes the dc.js staff agrees and integrates the functionality for others to use.

Please, if you find my contribution useful, consider a donation. Thanks. This was developed on my personal time so that it can be used without restriction.

Please consider a donation if you find value in my free/open source contributions.