Single + Multiple Series Box Plot Charts Oracle APEX - Part 31

Tech Mining
28 Nov 202206:39

Summary

TLDRTech mining's tutorial introduces viewers to the creation of box plot charts for summarizing large datasets, particularly useful for comparing annual sales figures over a decade. The script guides through the process of setting up a table with relevant data, utilizing a provided source code. It demonstrates creating a single-series box plot chart for School A and then extends the tutorial to include a multi-series chart for comparing marks across three schools, enhancing data visualization with interactive features and legends.

Takeaways

  • πŸ“Š The video introduces how to create a box plot chart to compare annual sales figures of products over the past 10 years.
  • πŸ“ˆ A box plot is an efficient chart type for summarizing large amounts of data, showing the range and distribution along a number line.
  • πŸ› οΈ The process involves creating a table and populating it with relevant data, with the source code provided in the video description.
  • πŸ”— To create the table, one must click the 'load data' button and ensure the table is created with 15 rows as a success message.
  • πŸ“ View the table by clicking the 'view table' button to browse the columns and existing data.
  • πŸ“Š For creating a single-series box plot, open the sales web application and select the box plot option from the chart menu.
  • πŸ” Choose 'SQL query' as the source type and enter the provided query to fetch data for the chart.
  • πŸ“Š Set the label column to 'course' and the value column to 'school a' to correctly categorize the data for the chart.
  • πŸ—οΈ After creating the page, customize the box plot chart region by setting its title and modifying the series name.
  • πŸ‘€ Test the chart by running the application and hovering the mouse pointer over each box to see the values.
  • πŸ“ˆ To compare marks of multiple schools, create a multi-series box plot using a SQL query that fetches data for all schools.
  • πŸ“Š The multi-series box plot enables comparison across different schools, with the legend property turned on for interactive data exploration.

Q & A

  • What is the purpose of a box plot chart in the context of the Tech mining video?

    -A box plot chart is used to efficiently summarize large amounts of data, displaying the range and distribution of data along a number line, which is particularly useful for comparing annual sales figures over a period of time.

  • How can one create a table for the box plot setup in the video?

    -To create a table for the box plot setup, one needs to execute the steps provided in the video, which includes populating the table with relevant data. The source code for this process is linked in the description of the video.

  • What is the outcome after clicking the 'load data' button in the video?

    -If the data loading process is successful, a message indicating that the 'table box plot' has been created with 15 rows will be displayed.

  • How can viewers browse the created table in the video?

    -Viewers can browse the created table by clicking the 'view table' button, which allows them to see all the columns and the existing data in the table.

  • What is the first step to create a page for a single series box plot chart?

    -The first step is to open the sales web application and then click on the 'chart' option followed by selecting the 'box plot' option.

  • Why is the SQL query important in creating a box plot chart?

    -The SQL query is crucial as it fetches and displays the necessary data for the box plot chart. It specifies the data source and ensures that the correct information is visualized.

  • What is the default orientation of the box plot chart in the video?

    -The default orientation of the box plot chart in the video is vertical.

  • How is the label column set in the box plot chart creation process?

    -In the box plot chart creation process, the label column is set to 'course', which categorizes the data on the chart.

  • What is the significance of changing the series name from 'series 1' to 'school a'?

    -Changing the series name from 'series 1' to 'school a' personalizes the chart, making it clear that the data displayed is specifically for school a.

  • How can one test the created box plot chart in the video?

    -To test the created box plot chart, one should run the application, navigate to the reports page, and click on the box plot card. Hovering the mouse pointer over each box will reveal the values.

  • What changes are made to create a multi-series box plot chart in the video?

    -To create a multi-series box plot chart, the SQL query is adjusted to fetch and show all data in the table, and the data of schools B and C are included. The legend property is also turned on to enable the hide and show behavior for each series.

Outlines

00:00

πŸ“ˆ Creating a Single-Series Box Plot for Annual Sales Data

This paragraph introduces the process of creating a box plot to compare annual sales figures over a decade. The script explains the utility of a box plot in summarizing large datasets and visualizing data distribution. It guides the viewer through the steps of setting up a table with relevant data, using a provided source code link. The tutorial continues with instructions on loading data into a table, viewing the table, and creating a page for a single-series box plot chart. It includes the selection of chart options, setting properties for the chart, and testing the chart by hovering over it to reveal values. The focus is on creating a single-series chart using a wizard to display data for 'School A'.

05:13

πŸ“Š Expanding to a Multi-Series Box Plot for Comprehensive Comparison

The second paragraph extends the discussion to creating a multi-series box plot for a more comprehensive comparison of data across multiple entities. It details the steps to modify the SQL query to include data for 'School B' and 'School C', alongside 'School A'. The script instructs the viewer on how to save and run the page to view the multi-series box plot, which now includes data for all three schools. The paragraph also mentions the activation of the legend property to enable interactive features for hiding and showing data series on the chart. The aim is to provide a visual comparison of the marks or data across the three schools using a multi-series box plot chart.

Mindmap

Keywords

πŸ’‘Tech mining

Tech mining refers to the process of extracting and analyzing data from technological sources, often to identify trends or insights. In the context of the video, it likely refers to the use of data analysis techniques to understand sales figures. The script mentions 'Tech mining' in the opening as the theme of the video, indicating that the content will be focused on using technology to mine sales data.

πŸ’‘Annual sales figures

Annual sales figures represent the total revenue generated from sales over the course of a year. The video script discusses comparing these figures for the past 10 years, which is a common practice for businesses to track performance and growth over time. The script mentions the need for summarizing this data, highlighting the importance of data visualization in analyzing long-term sales trends.

πŸ’‘Box plot

A box plot, also known as a box-and-whisker plot, is a graphical representation that summarizes a set of numerical data through quartiles. It displays the range, quartiles, and median of the data, making it an efficient way to visualize large datasets. The script introduces the box plot as the chart type to be used for summarizing sales data, emphasizing its utility in showing data distribution and range.

πŸ’‘Data summary

Data summary involves condensing large amounts of data into a more manageable form, often through statistical measures or graphical representations. The video script discusses creating a box plot to summarize sales data, which is essential for making the data more accessible and understandable. The script mentions summarizing data as a key step in the process of creating the box plot chart.

πŸ’‘Table

In the context of data analysis, a table is a structured arrangement of data in rows and columns, often used to organize and display information systematically. The script instructs viewers to create a table for setting up the data, which is a fundamental step in preparing the data for visualization. The script also mentions viewing the table to understand the data structure and the columns involved.

πŸ’‘Source code

Source code is the original code written in a programming language that defines the functionality of a software application. The video script provides a link to the source code in the description, which is likely the code used to create the box plot chart. This code is essential for viewers who wish to replicate or understand the process of creating the chart.

πŸ’‘Load data

Loading data refers to the process of importing or bringing data into a system or application. The script mentions a 'load data' button, which is a common feature in data analysis tools that allows users to input their data into the system. In the script, loading data is a crucial step for creating the box plot chart.

πŸ’‘SQL query

An SQL (Structured Query Language) query is used to manipulate and retrieve data from a database. The script instructs viewers to enter a specific SQL query to fetch data for the box plot chart. SQL queries are essential in data analysis for extracting the necessary data subsets from larger databases.

πŸ’‘Chart option

In the context of the script, 'chart option' refers to the feature within a software application that allows users to select the type of chart they wish to create. The script guides viewers to select the 'box plot' option from the available chart options, which is a key step in the process of creating the visualization.

πŸ’‘Single-series box plot

A single-series box plot is a type of box plot that represents data from one group or category. The script describes creating a single-series box plot to display the marks of 'School A'. This type of chart is useful for showing the distribution of data for a single entity, which in this case, is one school's performance.

πŸ’‘Multi-series box plot

A multi-series box plot is a variation of the box plot that includes data from multiple groups or categories, allowing for comparison across them. The script later discusses creating a multi-series box plot to compare the marks of all three schools, demonstrating how this type of chart can be used for comparative analysis.

πŸ’‘Legend

In data visualization, a legend is a key that explains the meaning of various symbols, colors, or patterns used in the chart. The script mentions turning on the 'legend property' to enable the hide and show behavior for the multi-series box plot chart. This feature is important for identifying which data series corresponds to which school in the chart.

Highlights

Introduction to Tech mining and the importance of summarizing annual sales figures over a decade.

Explanation of box plot as an efficient chart type for summarizing large data sets.

Description of how a box plot displays data range and distribution along a number line.

Steps to create a table for box plot setup and populating it with relevant data.

Provision of source code link in the video description for accessing materials.

Guidance on loading data using the 'load data' button and expected outcome.

Instructions on viewing the created table and its columns.

Process of creating a page for a single series box plot chart in a sales web application.

Selection of box plot option and choosing the source type as SQL query.

Entering the SQL query to fetch data for the box plot.

Acceptance of default vertical orientation and setting label and value columns.

Creation of the box plot chart and renaming the default series.

Saving changes and testing the single-series box plot chart functionality.

Demonstration of viewing values by hovering the mouse pointer over each box in the chart.

Introduction to creating a multi-series box plot chart for comparing marks of multiple schools.

Use of a SQL query to fetch and display data for all schools involved.

Enabling the legend property to allow for data series toggling in the chart.

Final note on the practical application of the multi-series box plot for data comparison.

Transcripts

play00:00

a very warm welcome to Tech mining

play00:02

if you want to compare the annual sales

play00:04

figures of your products for the past 10

play00:07

years you would need a way to summarize

play00:09

all the data

play00:10

this box plot is an efficient chart type

play00:13

to summarize large amounts of data a box

play00:16

plot displays the range and distribution

play00:18

of data along a number line

play00:20

let's create this box plot chart

play00:22

[Music]

play00:24

execute these following steps to create

play00:26

a table for this setup and populate it

play00:28

with relevant data

play00:30

link of source code is provided in

play00:32

description of this video by opening

play00:34

part 8 folder you'll get the material

play00:36

used

play00:38

foreign

play00:41

[Music]

play00:51

click this load data button

play00:54

if everything goes well you will see a

play00:56

message table box plot created with 15

play00:58

rows

play01:00

[Music]

play01:02

click this view table button to browse

play01:05

the table

play01:09

this is the table we have created these

play01:11

are all the columns in this table

play01:14

click this data tab to view the existing

play01:16

data in this table

play01:19

[Music]

play01:22

now let's create a page for this single

play01:25

series box plot chart

play01:27

open sales web application

play01:29

[Music]

play01:34

click the chart option

play01:36

then select box plot option

play01:42

[Music]

play01:59

thank you

play02:03

choose SQL query for Source type

play02:05

[Music]

play02:11

then enter this query in the SQL query

play02:13

box

play02:15

[Music]

play02:27

remaining properties will be the same as

play02:30

usual

play02:34

click next

play02:36

on this screen accept the default

play02:38

vertical orientation

play02:39

[Music]

play02:42

set label column to course

play02:44

[Music]

play02:48

value column to school a

play02:49

[Music]

play02:53

then click create button

play02:54

[Music]

play02:58

after creating the page click this box

play03:01

plot chart region

play03:03

set its title to single-series box plot

play03:06

chart

play03:06

[Music]

play03:14

then change the default series name from

play03:16

series 1 to school a

play03:19

[Music]

play03:29

click this save page button to save your

play03:31

changes

play03:34

that's it let's test this segment run

play03:38

this application

play03:40

foreign

play03:42

open this reports page click this box

play03:46

plot card

play03:50

your mouse pointer over each box to see

play03:53

the values

play03:54

note that this first chart which is only

play03:57

a single series chart is created using

play03:59

the wizard to show marks of school a

play04:01

only

play04:04

[Music]

play04:06

now let's create same chart for multiple

play04:09

series

play04:13

this box plot chart will compare the

play04:16

marks of all three schools using

play04:18

multiple series

play04:19

[Music]

play04:43

this SQL query will fetch and show all

play04:46

data in this table

play04:51

[Music]

play05:12

foreign

play05:15

[Music]

play05:29

s to display the data of school B and

play05:31

school C

play05:34

[Music]

play05:49

thank you

play05:53

[Music]

play06:07

click this save and run page button to

play06:10

see the multi-series box plot chart

play06:12

foreign

play06:18

note that this chart is displaying the

play06:21

data of all three schools

play06:25

we turned on the legend property to

play06:28

enable this hide and show Behavior

play06:36

is for watching

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Data VisualizationBox PlotSales AnalysisSQL QueryWeb ApplicationChart WizardEducational DataComparative StudyData SummaryTech Tutorial