Oracle by Example brandingConfiguring Graphical Views in Your Stream Analytics Pipeline

section 0Before You Begin

This 15-minute tutorial shows you how to configure graphical views in a Stream Analytics pipeline that lets you monitor public transportation in the Atlanta area.

This is the fourth tutorial in Monitoring Public Transportation Using Stream Analytics. Read them sequentially.

Background

Stream Analytics is a graphical tool with an intuitive web-based interface that enables you to explore, analyze, and manipulate streaming data sources in real time.

This traffic management solution uses GPS fleet data. This data is low cost, accurate, and it's created in real time. Its value for government sector customers is that this fleet data reduces congestion on roadways and enhances the traveling experience. The general features represented in this solution are real-time traffic analytics, speed violation tracking, and congestion detection. These features are combined with GPS streaming sensor feeds and historical trend data using map-based visualizations. This solution uses enterprise-grade Spark Streaming, Kafka open-source messaging, a highly scalable, extensible platform built with Stream Analytics.

Some of the key benefits with this solution are low-cost rollout with zero-road, network disruption, real-time operational intelligence, which is essential for meaningful congestion reduction, and an enhanced traveler experience, with a leading streaming big data technology.

What Do You Need?

Perform the tasks described in Creating Artifacts for Your Stream Analytics Pipeline.


section 2Configure a Geo Spatial Visualization

  1. On your SpeedViolation page, click the Visualizations tab.
  2. In the Add a Visualization drop-down list, select Geo Spatial.
    On SpeedViolation page, on Visualization tab, Geo Spatial is shown
    Description of the illustration t3_1.png
  3. In the Create Geo Spatial Visualization dialog box, on the Properties tab, enter or select the following values:
  4. The map is updated instantly as the new data arrives. It shows various driving behaviors.
    The Driver Monitor view
    Description of the illustration drivermonitor.png

section 2Configure a Bar Chart Visualization

  1. On the SpeedViolation stage, click the Visualizations tab.
  2. In the Add a Visualization drop-down list, select Bar Chart.
  3. On the Properties tab, enter or select the following values:
    • Name: CongestionPoints
    • Description: Provide a HWY view of activity
    • Y Axis Field Selection: AvgSpeed
    • Axis Label: Speed KMH
    • X Axis Field Selection: Bus_Hwy
    • Axis Label: HWY
    • The Properties tab for Bar Chart Visualization
      Description of the illustration t3_4.png

View this chart to get insights that help you to identify the highways with the lower-than-average speeds that are currently experiencing traffic congestion.

The Congestion graphic, driver monitor, and live stream
Description of the illustration congestion.png

next stepNext Tutorial

Defining and Configuring a Target in Your Stream Analytics Pipeline