Ditch the old way and create better analytics in JavaScript with Cube.js

Share
  • March 29, 2019

Open source and analytics go together as perfect as peanut butter and jelly. Cube.js is an open source JavaScript modular framework for building analytical web apps created by the statsbot team. It gives you all the building blocks you need to add complex, customized analytics features into your applications.

Create fully customizable bar charts, time series, tables, and more.

Customize your analytics

Cube.js helps build tools to be used either for internal business tools, or for customer-facing analytics.

It helps reduce complexities and overhead and gives developers the ability to create large-scale analytics without the frustration of having to maintain its infrastructure as well. This way, you don’t have to worry about the infrastructure and query engine, since the Cube.js query engine handles all the database connections.

SEE ALSO: Take your JavaScript learning beyond the classroom with these fun tools!

From its GitHub repo:

Cube.js was designed to work with Serverless Query Engines like AWS Athena and Google BigQuery. Multi-stage querying approach makes it suitable for handling trillions of data points. Most modern RDBMS work with Cube.js as well and can be tuned for adequate performance.

Unlike others, it is not a monolith application, but a set of modules, which does one thing well. Cube.js provides modules to run transformations and modeling in data warehouse, querying and caching, managing API gateway and building UI on top of that.

https://github.com/statsbotco/cube.js

javascriptjavascript

Cube.js client libraries and API can build features directly into your apps so you can visualize your data easily. Experience better performance and fast results.

Bringing the cube to you

Luckily, for people new to cube.js, you’re not without help. An introductory guide walks you through its usage. You’ll quickly be on the road to building better analytical web apps. Artyom Keydunov published “Cube.js, the open source dashboard framework: Ultimate guide” and it earns its usage of the word “ultimate“. If you’re looking for a 101 guide, start here. It guides new users through the basics and how to design their first dashboard.

Learn how to build the frontend and dashboard using a React wrapper for Cube.js API and where to begin with your database. (Which database to choose, what are the best practices to take, how can a database help you reduce workloads?)

Check out the in-browser live demo of the final dashboard. With just some code this sleek style can be part of your next project. You can install the cube.js CLI with NPM or Yarn and connect it to your databases.

SEE ALSO: Keep your JavaScript command-line tools neat and clean with Notion

On GitHub, the sample gallery offers some more suggestions and inspiration. Once you’re ready, move on from the introduction tutorials to the advanced guides and start building conversion funnels and open source Google Analytics from scratch (see the demo here).

So, are you ready to deploy?

The post Ditch the old way and create better analytics in JavaScript with Cube.js appeared first on JAXenter.

Source : JAXenter