Data visualization method and apparatus
First Claim
1. A data visualization method, comprising:
- obtaining multiple pieces of spatial-temporal data, wherein each of the multiple pieces of spatial-temporal data records a time and a location at which an event occurs, locations recorded by the multiple pieces of spatial-temporal data are distributed in m preset regions, and m≥
2;
determining time-based distribution of the multiple pieces of spatial-temporal data according to time recorded by the multiple pieces of spatial-temporal data;
displaying a distribution curve diagram by using a display device, wherein the distribution curve diagram is used to represent the time-based distribution of the multiple pieces of spatial-temporal data, and the distribution curve diagram comprises a timeline, a curve changing with the timeline, and an irregular region enclosed by the curve;
determining distribution of the multiple pieces of spatial-temporal data in the m regions according to the locations recorded by the multiple pieces of spatial-temporal data; and
displaying, by using the display device, a tree map in the irregular region according to the distribution of the multiple pieces of spatial-temporal data in the m regions, wherein the tree map divides the irregular region into m sub-regions that are in a one-to-one correspondence with the m regions, and an area of each of the m sub-regions is used to indicate an amount of spatial-temporal data distributed in a region corresponding to each sub-region, wherein displaying the tree map dividing the irregular region further comprises deploying m points in the irregular region, the m points being in a one-to-one correspondence with the m regions, and determining one or more division locations of the irregular region according to locations of the m points in the irregular region and a distribution of amounts of the spatial-temporal data in the m regions, the division locations of the irregular region being used for dividing the irregular region into the m sub-regions, such that each of the m sub-regions includes one point of the m points, and wherein at least one of the m sub-regions is bounded partially by the curve.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure provides a data visualization method and apparatus. The method includes: displaying a distribution curve diagram by using a display device, where the distribution curve diagram is used to represent time-based distribution of multiple pieces of spatial-temporal data, and the distribution curve diagram includes a timeline, a curve changing with the timeline, and an irregular region enclosed by the curve; and displaying a tree map in the irregular region by using the display device, where the tree map divides the irregular region into m sub-regions that are in a one-to-one correspondence with m regions, and an area of each of the m sub-regions is used to indicate an amount of spatial-temporal data distributed in a region corresponding to each sub-region. The present disclosure implements visualization of spatial-temporal data by using the tree map.
6 Citations
15 Claims
-
1. A data visualization method, comprising:
-
obtaining multiple pieces of spatial-temporal data, wherein each of the multiple pieces of spatial-temporal data records a time and a location at which an event occurs, locations recorded by the multiple pieces of spatial-temporal data are distributed in m preset regions, and m≥
2;determining time-based distribution of the multiple pieces of spatial-temporal data according to time recorded by the multiple pieces of spatial-temporal data; displaying a distribution curve diagram by using a display device, wherein the distribution curve diagram is used to represent the time-based distribution of the multiple pieces of spatial-temporal data, and the distribution curve diagram comprises a timeline, a curve changing with the timeline, and an irregular region enclosed by the curve; determining distribution of the multiple pieces of spatial-temporal data in the m regions according to the locations recorded by the multiple pieces of spatial-temporal data; and displaying, by using the display device, a tree map in the irregular region according to the distribution of the multiple pieces of spatial-temporal data in the m regions, wherein the tree map divides the irregular region into m sub-regions that are in a one-to-one correspondence with the m regions, and an area of each of the m sub-regions is used to indicate an amount of spatial-temporal data distributed in a region corresponding to each sub-region, wherein displaying the tree map dividing the irregular region further comprises deploying m points in the irregular region, the m points being in a one-to-one correspondence with the m regions, and determining one or more division locations of the irregular region according to locations of the m points in the irregular region and a distribution of amounts of the spatial-temporal data in the m regions, the division locations of the irregular region being used for dividing the irregular region into the m sub-regions, such that each of the m sub-regions includes one point of the m points, and wherein at least one of the m sub-regions is bounded partially by the curve. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A data visualization apparatus, comprising:
-
an obtaining module, configured to obtain multiple pieces of spatial-temporal data, wherein each of the multiple pieces of spatial-temporal data records a time and a location at which an event occurs, locations recorded by the multiple pieces of spatial-temporal data are distributed in m preset regions, and m≥
2;a first determining module, configured to determine time-based distribution of the multiple pieces of spatial-temporal data according to time recorded by the multiple pieces of spatial-temporal data; a first display module, configured to display a distribution curve diagram by using a display device, wherein the distribution curve diagram is used to represent the time-based distribution of the multiple pieces of spatial-temporal data, and the distribution curve diagram comprises a timeline, a curve changing with the timeline, and an irregular region enclosed by the curve; a second determining module, configured to determine distribution of the multiple pieces of spatial-temporal data in the m regions according to the locations recorded by the multiple pieces of spatial-temporal data; and a second display module, configured to display, by using the display device, a tree map in the irregular region according to the distribution of the multiple pieces of spatial-temporal data in the m regions, wherein the tree map divides the irregular region into m sub-regions that are in a one-to-one correspondence with the m regions, and an area of each of the m sub-regions is used to indicate an amount of spatial-temporal data distributed in a region corresponding to each sub-region, wherein displaying the tree map dividing the irregular region further comprises deploying m points in the irregular region, the m points being in a one-to-one correspondence with the m regions, and determining one or more division locations of the irregular region according to locations of the m points in the irregular region and a distribution of amounts of the spatial-temporal data in the m regions, the division locations of the irregular region being used for dividing the irregular region into the m sub-regions, such that each of the m sub-regions includes one point of the m points, and wherein at least one of the m sub-regions is bounded partially by the curve. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A non-transitory computer-readable medium comprising code which, when executed by a processor, causes the processor to perform a method comprising:
-
obtaining multiple pieces of spatial-temporal data, wherein each of the multiple pieces of spatial-temporal data records a time and a location at which an event occurs, locations recorded by the multiple pieces of spatial-temporal data are distributed in m preset regions, and m≥
2;determining time-based distribution of the multiple pieces of spatial-temporal data according to time recorded by the multiple pieces of spatial-temporal data; displaying a distribution curve diagram by using a display device, wherein the distribution curve diagram is used to represent the time-based distribution of the multiple pieces of spatial-temporal data, and the distribution curve diagram comprises a timeline, a curve changing with the timeline, and an irregular region enclosed by the curve; determining distribution of the multiple pieces of spatial-temporal data in the m regions according to the locations recorded by the multiple pieces of spatial-temporal data; and displaying, by using the display device, a tree map in the irregular region according to the distribution of the multiple pieces of spatial-temporal data in the m regions, wherein the tree map divides the irregular region into m sub-regions that are in a one-to-one correspondence with the m regions, and an area of each of the m sub-regions is used to indicate an amount of spatial-temporal data distributed in a region corresponding to each sub-region, wherein displaying the tree map dividing the irregular region further comprises deploying m points in the irregular region, the m points being in a one-to-one correspondence with the m regions, and determining one or more division locations of the irregular region according to locations of the m points in the irregular region and a distribution of amounts of the spatial-temporal data in the m regions, the division locations of the irregular region being used for dividing the irregular region into the m sub-regions, such that each of the m sub-regions includes one point of the m points, and wherein at least one of the m sub-regions is bounded partially by the curve. - View Dependent Claims (12, 13, 14, 15)
-
Specification