days
-9
-9
hours
-2
-1
minutes
-4
-9
seconds
-3
-1
search
Large-scale data analytics made easy

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

Sarah Schlothauer
javascript
© Shutterstock /wacomka

When building tools for your business or analytics for customers, do you face problems with infrastructure maintenance? Cube.js makes it so that customizable JavaScript powered analytics are just a few lines of code away. Now, more than ever, there are plenty of helpful tutorials to get you up and running with better visualization.

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?

Author
Sarah Schlothauer

Sarah Schlothauer

All Posts by Sarah Schlothauer

Sarah Schlothauer is an assistant editor for JAXenter.com. She received her Bachelor's degree from Monmouth University and is currently enrolled at Goethe University in Frankfurt, Germany where she is working on her Masters. She lives in Frankfurt with her husband and cat.

Leave a Reply

Be the First to Comment!

avatar
400
  Subscribe  
Notify of