<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: AKrus</title>
    <description>The latest articles on DEV Community by AKrus (@antonina).</description>
    <link>https://dev.to/antonina</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F114670%2Ff7698463-9bf3-4b46-bea6-cd7a21214c85.jpg</url>
      <title>DEV Community: AKrus</title>
      <link>https://dev.to/antonina</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/antonina"/>
    <language>en</language>
    <item>
      <title>JavaScript library for data visualization and reporting. Free dev tool. Your thoughts?</title>
      <dc:creator>AKrus</dc:creator>
      <pubDate>Tue, 04 Dec 2018 13:38:02 +0000</pubDate>
      <link>https://dev.to/antonina/javascript-library-for-data-visualization-and-reporting-free-dev-tool-your-thoughts--1l8l</link>
      <guid>https://dev.to/antonina/javascript-library-for-data-visualization-and-reporting-free-dev-tool-your-thoughts--1l8l</guid>
      <description>&lt;p&gt;Hi to all the community!&lt;/p&gt;

&lt;p&gt;Want to share with you a non-commercial project our team is working on. &lt;/p&gt;

&lt;p&gt;We truly believe that visualization and analysis totally rock the business. Also, our team believes that the future is oriented towards web solutions. That's why we've named our product WebDataRocks :) &lt;/p&gt;

&lt;p&gt;This tool is created by developers and for developers. Thus, we’ll really appreciate a tech community opinion.&lt;/p&gt;

&lt;h3&gt;
  
  
  Briefly about WebDataRocks Pivot Table
&lt;/h3&gt;

&lt;p&gt;It’s a free embeddable JavaScript library to visualize data in an aggregated manner.&lt;/p&gt;

&lt;p&gt;To be even more specific, it’s an Excel-like pivot table that allows creating dynamic reports in a browser. It works with CSV and JSON data up to 1MB.&lt;/p&gt;

&lt;h3&gt;
  
  
  Main value for a developer
&lt;/h3&gt;

&lt;p&gt;It’s free ready-made and well-designed tool. Simply integrates with frameworks and other libraries. Customizable and localizable.&lt;/p&gt;

&lt;p&gt;Thus, any developer can add it to any web project where data analysis is needed.&lt;/p&gt;

&lt;p&gt;Interested? - To get you an idea of what this tool does, let me tell you a bit more about its core features.&lt;/p&gt;

&lt;h3&gt;
  
  
  Analysis
&lt;/h3&gt;

&lt;p&gt;You have a non-aggregated data, here what you can do with it using a web reporting tool:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Organize data with the Field List by dragging the needed members into rows and columns&lt;/li&gt;
&lt;li&gt;Filter data by choosing the needed members that you want to be shown in the report &lt;/li&gt;
&lt;li&gt;Group data via multi-level hierarchies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;WebDataRocks supports 13 types of aggregations like sum, count, average, min, max, difference etc. If it’s not enough for your report, there are calculated values where you can set your own function.&lt;/p&gt;

&lt;h3&gt;
  
  
  Visualization
&lt;/h3&gt;

&lt;p&gt;When your report has already been configured, additionally you can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Expand, collapse and sort values&lt;/li&gt;
&lt;li&gt;Drill through the cell to see non-aggregated values&lt;/li&gt;
&lt;li&gt;Format cells to set the needed number formatting&lt;/li&gt;
&lt;li&gt;Colorize cells by setting the conditional formatting and highlight the needed values&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pivot Grid looks like that.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fben9dpsdq0s5ixib07ah.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fben9dpsdq0s5ixib07ah.gif" alt="WebDataRocks Pivot Table Tool" width="830" height="609"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;As a bonus&lt;/strong&gt;&lt;br&gt;
Predefined themes, localization files, readymade integration wrappers - all that can facilitate developer’s work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Plus:&lt;/strong&gt; Reports can be saved, exported (PDF, Excel, HTML) and printed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Let’s test it and create a report:&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Firstly, download WebDataRocks (there are a few options for &lt;a href="https://www.webdatarocks.com/doc/download/" rel="noopener noreferrer"&gt;how to do it&lt;/a&gt;, choose the most suitable for you. I’ll refer to CDN in this example)&lt;/p&gt;

&lt;p&gt;Secondly, add WebDatarocks into your HTML file  between the &amp;lt;body&amp;gt; tags:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;div id="wdr-component"&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;link href="https://cdn.webdatarocks.com/latest/webdatarocks.min.css" rel="stylesheet"/&amp;gt;
&amp;lt;script src="https://cdn.webdatarocks.com/latest/webdatarocks.toolbar.min.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script src="https://cdn.webdatarocks.com/latest/webdatarocks.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script&amp;gt;
var pivot = new WebDataRocks({
    container: "#wdr-component",
    toolbar: true,
    report: {
        dataSource: {
            filename: "https://cdn.webdatarocks.com/data/data.csv"
        }
    }
});
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The last step - load your data:  &lt;/p&gt;

&lt;p&gt;Add your URL to CSV or JSON file directly into the report. Just specify the URL to your file in the &lt;em&gt;filename&lt;/em&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;filename: "URL-to-your-CSV-or-JSON-file"

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That’s all. The report is ready!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F80jjc11u3lh52d4errxs.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F80jjc11u3lh52d4errxs.gif" alt="GIF from https://tenor.com/" width="478" height="270"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;More detailed info is presented in the &lt;a href="https://www.webdatarocks.com/doc/intro/" rel="noopener noreferrer"&gt;documentation&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;To see the whole code: &lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/webdatarocks/embed/NwYbVm?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;You are still there? :-) - Thanks for reading! &lt;/p&gt;

&lt;p&gt;So, what do you think? Any ideas or cases where you could use it?&lt;br&gt;
Please share.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>devtips</category>
      <category>coding</category>
    </item>
  </channel>
</rss>
