So much of the life of an analyst relies on the ability to quickly and reliably transform our SQL queries into impactful visualizations. While this may sound trivial to outsiders, analysts know this is often anything but straightforward. Every company, data team, and individual analyst has their own preferred method.
This article compares the most common (and some uncommon) approaches to the quintessential analyst journey from SQL query to chart.
In the past, this would be the typical day of a data analyst:
Although Excel (and other similar applications) are extremely powerful, they do come with limitations that today’s data warehouses can overcome relatively easily.
The main difference between this method and the one above is the additional strength of the visualization tool. This method allows for the most power in each step by using the most specialized tool for each job. But that level of specialization can come with a price. Because your SQL and visualization are spread across multiple tools, it can be the slowest of the options, especially if you are iterating through several tweaks to your query and visualization.
Many BI tools classify themselves self-service, meaning they offer user-friendly ways of querying data that don't rely on code. The main benefit to analysts is that these tools allow you to go from SQL query to visualization in one tool.
The tradeoff, however, is each of these options is slightly less fully-featured than specialty tools. This narrowing of capabilities for both the querying and the visualization means there are far fewer use cases where you can take advantage of this approach. For that reason, many analysts fall back to other options after giving these tools the college try.
Examples
Data science notebooks like Jupyter have gained a lot of popularity in the last few years. They are long-form development environments where a user can write code to query the database, build visuals, and surround the chart with visuals and commentary before sending it to users.
Since they are not built for SQL querying, notebooks can be a less-than-ideal place to write SQL queries, leaving many of the comforts of SQL IDEs long behind you. However, the visual customization capabilities are unparalleled, making the visualization part of the SQL-to-chart journey the main reason they made this list.
BI notebooks are similar to data science notebooks in their format but have been optimized for the analyst’s journey of SQL to visualization. Practically, this means they integrate the power of a SQL IDE, the speed of data visualization tools, and the long-form environment of data science notebooks in one tool.
With BI notebooks like Count, you get the workflow benefits of a self-service BI tool without sacrificing all the features of your specialized tools. It makes for a far more pragmatic solution to the ever-present challenge of transforming SQL to impactful graphs and charts.
Business demands more from data than ever before, and the analyst’s ability to swiftly and comprehensively meet that need can make the difference between success and failure. To do this well, we need to rethink the way we accomplish the most fundamental of data tasks: turning SQL into a chart.
There are tons of options out there for writing queries and visualizing the data, but each comes with its own benefits and tradeoffs. The trick when weighing them against one another is to be mindful of your organization’s needs and skill sets to make sure you choose the right one for the task at hand.