👨🔬Create your first chart
Last updated
Last updated
This guide will walk you through the simple steps to create your first chart. You can build your charts with the SQL language over the datasets available in Agnostic. This guide will walk you through the steps to harness the full potential of this powerful tool.
Prerequisites:
Before we begin, please ensure that you are logged into your Agnostic account and have the right permissions to create charts within your project.
Once you're logged in, you'll land on the project page where you can manage and view project resources like Charts, GraphQL Endpoints, and Dashboards.
To create your first chart, locate the "Create" button on the page and click on it. A dropdown menu will appear – select "Chart."
A modal will pop up, prompting you to name your chart. Provide a descriptive name for easy identification. For this example, we will use « USDC Transferred to Coinbase VS Binance »
Once you've clicked on the "Create" button. You'll be seamlessly redirected to the newly created chart, ready for customization and configuration.
In the Chart interface, you'll see a text editor where you can write SQL queries. Start by composing your query based on the dataset available in Agnostic. You can use standard SQL syntax, including SELECT statements, JOINs, GROUP BY, and more.
As you type, you'll benefit from autocomplete suggestions for SQL keywords, tables, and columns from the Agnostic dataset. This feature streamlines the query-writing process and helps prevent typos and errors.
After composing your query, execute it using the "Play" button. You'll instantly see the results displayed in a table format, resembling a classic database GUI.
To create a chart, you need to define how the SQL query results will be visualized. Displaying chart relies on aliases to designate the chart's axes:
Axis | Aliases |
---|---|
X-axis | Use the |
Y-axis | Use the |
Z-axis (Optional) | There are two ways to define the Z-axis
|
Configure your SQL query to generate results that match the axis aliases you've defined.
Let's create a chart showing the number of USDC transferred to Coinbase vs. Binance by week from May 2021.
Watch the result from the public chart USDC Transferred (Coinbase/Binance).
Once your SQL query and chart aliases are defined, click the "Play" button (on the top right corner of the IDE). Agnostic will process your query and generate a chart based on the specified aliases.
Review the generated chart to ensure it accurately represents the data and visualization you intended to create.
If everything looks good, you can save the chart within your Agnostic project by clicking the "Save" button.
Congratulations! You've successfully created your first chart with Agnostic. You can now view, edit, and share your chart with your team or stakeholders or even with the world by clicking on the button "Share". This tool empowers you to leverage your SQL skills to craft customized visualizations from your blockchain data. Explore the possibilities, refine your queries, and unlock actionable insights with this advanced data visualization tool.
Visualize your blockchain data with Agnostic's tools and explore different chart types and configurations for valuable insights.
Then select your chart type by clicking on (Chart configuration) - select "Line"