Powerful Data Visualisation with AG Grid & AG Charts

Rate this content
Bookmark
Github

Does your React app have lots (and lots) of data that needs to be displayed in both Data Grids and Charts? Do your users want to interact with, analyse, and work with this data without compromising on performance or reliability? AG Grid provide the best React Data Grid & Charts libraries that are packed with features and provide unbeatable performance whilst being fully customizable. In this workshop, you'll learn how to get started with both AG Grid and AG Charts, learn how to use their key features. You will walk away from this free 3-hour workshop equipped with the knowledge for implementing AG Grid & AG Charts into your React application.

This workshop has been presented at React Advanced 2024, check out the latest edition of this React Conference.

FAQ

The workshop aims to teach participants about data visualization using ag-Grid and AgCharts, focusing on hands-on exercises and practical implementation in React applications.

The speaker is Brian Love, a full-stack developer and software consultant located in Bend, Oregon, USA.

The workshop covers topics like installing ag-Grid, defining columns, sorting, filtering, and using advanced features of ag-Grid, as well as introducing AgCharts for creating line, bar, and pie charts.

To start using ag-Grid, you should install the ag-Grid React module, optionally the ag-Grid Community module for TypeScript interfaces, and begin by defining column definitions and row data.

The workshop is three hours long and includes hands-on exercises and two short breaks, allowing participants to practice using ag-Grid and AgCharts.

Users can enable sorting by setting the 'sortable' property to true and filtering by setting the 'filter' property on the column definition, with options for text, number, and date filters.

Value getters allow for custom data computations for each cell, while value formatters enable formatting of cell values, such as displaying numbers as currency or dates in a specific format.

Developers can use cell renderers to return custom HTML or JSX, allowing them to create interactive and visually appealing cells beyond simple text content.

AG Charts allows for creating line, bar, and pie charts with customizable series, axes, and labels, supporting time series and categorical data visualization.

ag-Grid provides default editors like text and select editors. Developers can create custom editors, such as a color picker, using React components to enhance user interaction.

Brian Love
Brian Love
145 min
21 Oct, 2024

Comments

Sign in or register to post your comment.
Video Summary and Transcription
Welcome to the Powerful Data Visualization with aggrid and AgCharts Workshop. The workshop covers installing Ag Grid, defining columns, sorting, filtering, dragging, pinning, and spanning using Ag Grid. It also explores advanced features of Ag Grid and dives into AgCharts, Ag Grid's new charting product. The workshop covers various topics such as getting started with Ag Grid, defining columns and binding data, setting up column definitions and row data, reviewing data and data set, row sorting, retrieving rows and virtualization, filtering and sorting, customizing sorting, default column definitions, custom filters, using filters in AGGrid, cell rendering in AGGrid, computing price value, using value getter to compute order totals, computing cell values and debugging errors, reusable value getters and formatting cell values, value formatter and formatting cell values, cell rendering in AGGrid, enabling cell editing, AG Charts, and configuring axes in AG Charts.

1. Introduction to Workshop

Short description:

Welcome to the Powerful Data Visualization with aggrid and AgCharts Workshop at React Advanced. The workshop will cover installing Ag Grid, defining columns, sorting, filtering, dragging, pinning, and spanning using Ag Grid. We will also explore advanced features of Ag Grid and dive into AgCharts, Ag Grid's new charting product.

Welcome again to everybody joining us. Welcome to the Powerful Data Visualization with aggrid and AgCharts Workshop at React Advanced. I'll wait a couple more minutes. We've got people still coming in. But in the meantime, if you want, go ahead and drop in the chat where you're from. My name is Brian, and I'm located here in the United States. And I'm on the West Coast in Oregon, in a town called Bend. Really nice to meet everybody.

Okay, it's about five after, so we might have a couple other people kind of join us as we get started. But we'll go ahead and kick things off. Yeah, welcome to React Advanced. This is the Powerful Data Visualization with aggrid and agcharts. This is gonna be a three-hour workshop. I'm here in the US, and I'm on the West Coast time. I'm in the Pacific time zone. So I've got 0900 to 1200. I know it's gonna be different for you, but you'll see on my clock that it's 905 in the morning. So we'll kind of use that as a gauge as we go through throughout the workshop today. We've got three hours of content, and we've got lots of hands-on exercises for you to get started with aggrid and agcharts. We're gonna take two short breaks throughout the morning or throughout the evening for you. And so feel free to... We'll kind of use that as a set time to kind of... I'll be walking away and taking a break, just getting some water and stretching my legs. But feel free to take a break anytime you need to do so. I've also dropped a couple of links in the chat, and you'll see these up here. So the first one is liveloveapp.com.courses. And that's where all the course content lives for today. We're gonna be doing the aggrid and agcharts workshop. You'll see those, and I'm gonna be walking through that with you. I also dropped a couple of GitHub links here as well. If you want to get right to the code and kind of see how things are set up all the way with everything, you can do that. But you don't need to clone the repo or do anything with the repository. That's just for your reference and for my reference as well, just in case we get stuck on an exercise and I need to refer to a solution. And you can also do the same thing, and you'll see that. So I'll kind of walk through that here in a second. The other thing I want to do real quick is just kind of introduce myself. So my name is Brian Love. I live here in the United States, and I live in the state of Oregon. So that's up in the Pacific Northwest. So it's kind of the top left of the United States. And I live in a town called Bend. Bend is kind of known for adventure skiing and hiking and mountain biking, and that kind of thing. I've been a full stack developer for a while now, and I'm learning to become a pilot, which is kind of a fun thing to share. I don't know if I'll ever become a commercial pilot, but just in case the AI overlords take over software engineering and I'm unemployed in a few years, I figure it might not be a bad backup plan to have because somebody's going to still need to fly the planes until the AI can do that too. That's all just for fun. Yeah, that was all just for fun. And then I also love to ski and I'm excited for us here. Ski season will be starting in a couple weeks, so I'm excited to to do that. So let's go ahead and dive right in. So I'm going to switch over to my browser and I'm going to go ahead and go to the website. This is liveloveapp.com slash courses. Let me drop that link just in case you missed it and you joined us. I'll drop that right now in the chat for you. Once you get there, go ahead and hit the Ag grid with React down here on the bottom left. And this is what we're going to be going through today. This is all the content that we have. And then we're going to get into the Ag charts as well. We're going to actually skip the styling in order to get have time for Ag charts. And I think you're going to really appreciate that. The styling, this content is always here for you to use and to reference. So if you want to come back in and refer to some of the styling, feel free to do that. Let's go ahead and just dive right in. So if you click on Getting Started with Ag Grid, you're going to see that the content comes up. And if you want to follow along, feel free to follow along on the course website. You can also hit the period or the dot key on your keyboard. And that will turn the website into kind of our presentation mode. And then if you hit escape, that takes you out of it. So pretty easy if you want to follow along with the actual slides. And then I'm going to kind of get this chat window out of the way for myself. Excellent. Okay. So today, we're going to be learning a bit about Ag Grid. We're going to start with installing Ag Grid, defining columns. We're going to look at sorting, filtering, dragging, pinning, and spanning using Ag Grid. And then we're going to get into other things throughout the morning and throughout the evening. We're going to be looking at things like default column definition and some of the more advanced features of Ag Grid. And then we're going to dive into AgCharts a little bit, which is Ag Grid's new charting product. And that will cover line chart, bar chart, and pie chart when we get to that. I do want to make it clear, just in case you're curious. So I'm a software consultant. I work for Live.Luv app. I do not work for Ag Grid. So what that means is I'm a developer just like you. I use Ag Grid. A lot of the clients that I work with use Ag Grid. But I don't get paid if you buy Ag Grid. So I'm not here to convince you. And I'm not even like a devrel, right? I don't get paid. Like I don't work for Ag Grid. They ask us to do these workshops.

2. Workshop Overview

Short description:

The workshop will cover installing Ag Grid, defining columns, sorting, filtering, dragging, pinning, and spanning using Ag Grid. We will also explore advanced features of Ag Grid and dive into AgCharts, Ag Grid's new charting product.

And the hope is after the workshop, if you need any help at your work and you want somebody to kind of come along your project, is that you would maybe think about us and reach out to us and hire us to help you with your Ag Grid project. So that's kind of where we make money in all of this. And Ag Grid is a great product. I stand behind it, just because I've used it as a developer for many, many years. But I'm not here to convince you to buy anything. I don't know all the inner workings of their pricing and how that all works. You know, I'm sure if you're interested in purchasing Ag Grid, they'd love to get you on a call and talk to you about it, but I'm not the person to do that. I'm here to just tell you what I know about Ag Grid and how I've used it very successfully in React projects for many years. And hopefully to have some fun with you.

Watch more workshops on topic

Build a powerful DataGrid in few hours with Ag Grid
React Summit US 2023React Summit US 2023
96 min
Build a powerful DataGrid in few hours with Ag Grid
Top Content
WorkshopFree
Mike Ryan
Mike Ryan
Does your React app need to efficiently display lots (and lots) of data in a grid? Do your users want to be able to search, sort, filter, and edit data? AG Grid is the best JavaScript grid in the world and is packed with features, highly performant, and extensible. In this workshop, you’ll learn how to get started with AG Grid, how we can enable sorting and filtering of data in the grid, cell rendering, and more. You will walk away from this free 3-hour workshop equipped with the knowledge for implementing AG Grid into your React application.
We all know that rolling our own grid solution is not easy, and let's be honest, is not something that we should be working on. We are focused on building a product and driving forward innovation. In this workshop, you'll see just how easy it is to get started with AG Grid.
Prerequisites: Basic React and JavaScript
Workshop level: Beginner
Build a Powerful Datagrid With AG Grid
React Summit 2024React Summit 2024
168 min
Build a Powerful Datagrid With AG Grid
Top Content
WorkshopFree
Brian Love
Brian Love
Does your React app need to efficiently display lots (and lots) of data in a grid? Do your users want to be able to search, sort, filter, and edit data? AG Grid is the best JavaScript grid in the world and is packed with features, highly performant, and extensible. In this workshop, you’ll learn how to get started with AG Grid, how we can enable sorting and filtering of data in the grid, cell rendering, and more. You will walk away from this free 3-hour workshop equipped with the knowledge for implementing AG Grid into your React application.
Data Visualization for Web Developers
JSNation Live 2021JSNation Live 2021
139 min
Data Visualization for Web Developers
WorkshopFree
Anjana Vakil
Anjana Vakil
In this workshop, through hands-on projects we'll learn how to use Observable, a browser-based reactive coding platform, to rapidly build insightful, interactive visualizations in JavaScript. After completing this workshop, you'll have the basic tools & techniques you need to start using dataviz to better understand your code, your projects & your users, and make better data-driven decisions as a developer.
Painting with Data: Intro to d3.js
JSNation Live 2021JSNation Live 2021
130 min
Painting with Data: Intro to d3.js
Workshop
Ian Johnson
Ian Johnson
D3.js is a powerful JavaScript library for building data visualizations, but anyone who has tried to use it quickly finds out that it goes deeper picking your favorite chart type. This workshop is designed to give you a hands-on introduction to the essential concepts and techniques for creating custom data visualizations with d3.js. By the end of this workshop you will have made an interactive and animated visualization on a realistic dataset that you can easily swap out with your own.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

(Easier) Interactive Data Visualization in React
React Advanced 2021React Advanced 2021
27 min
(Easier) Interactive Data Visualization in React
Top Content
This Talk is about interactive data visualization in React using the Plot library. Plot is a high-level library that simplifies the process of visualizing data by providing key concepts and defaults for layout decisions. It can be integrated with React using hooks like useRef and useEffect. Plot allows for customization and supports features like sorting and adding additional marks. The Talk also discusses accessibility concerns, SSR support, and compares Plot to other libraries like D3 and Vega-Lite.
GPU Accelerating Node.js Web Services and Visualization with RAPIDS
JSNation 2022JSNation 2022
26 min
GPU Accelerating Node.js Web Services and Visualization with RAPIDS
Welcome to GPU Accelerating Node.js Web Services and Visualization with Rapids. Rapids aims to bring high-performance data science capabilities to Node.js, providing a streamlined API to the Rapids platform without the need to learn a new language or environment. GPU acceleration in Node.js enables performance optimization and memory access without changing existing code. The demos showcase the power and speed of GPUs and rapids in ETL data processing, graph visualization, and point cloud interaction. Future plans include expanding the library, improving developer UX, and exploring native Windows support.
Never Have an Unmaintainable Jupyter Notebook Again!
ML conf EU 2020ML conf EU 2020
26 min
Never Have an Unmaintainable Jupyter Notebook Again!
Jupyter Notebooks are important for data science, but maintaining them can be challenging. Visualizing data sets and using code quality tools like NBQA can help address these challenges. Tools like nbdime and Precommit can assist with version control and future code quality. Configuring NBQA and other code quality tools can be done in the PyProject.toml file. NBQA has been integrated into various projects' continuous integration workflows. Moving code from notebooks to Python packages should be considered based on the need for reproducibility and self-contained solutions.
Sharing is Caring: Reusing Web Data Viz in React Native
React Summit 2022React Summit 2022
26 min
Sharing is Caring: Reusing Web Data Viz in React Native
PolarisViz is a collection of React components that provide consistent visual styles, motion design, and accessibility features. It aims to solve the problem of inconsistencies in visualization decisions made by different teams. The library is flexible for different visual styles and has centralized theme management. PolarisViz was integrated with React Native using a separate library called Polaris Viz core. Challenges included limitations in native apps and the need to share UI components between web and mobile platforms.