Skip to content

IoT Data Visualization using D3 and Pubnub - Car parking space status based on streamed data

Notifications You must be signed in to change notification settings

shasdas/ParkingLot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

ParkingLot

IoT Data Visualization using D3 and Pubnub - Car parking space status based on streamed data

parkinglot

Description of Visual

Grid is representing the parking space of a company.
On hover parking number would be shown as tool tip to get information for that particular space.
Sensor installed on the space could stream data to pubnub subscription via gateway.
Pubnub listener gets notified based on streamed data which would get 
plotted using D3 to give a picture of the parking space and available space based on live streaming.

SetUp

In grid.js, in the code block below, a pub-sub key set has to be given from the Pubnub subscription

// pubnub registration
var pubnub = new PubNub({
    publishKey : '<PUT_YOUR_PUB_KEY_HERE>',
    subscribeKey : '<PUT_YOUR_SUB_KEY_HERE>'
});

A set of dummy data would get published in 5 seconds interval to pubnub channel to simulate the visualization.

About

IoT Data Visualization using D3 and Pubnub - Car parking space status based on streamed data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published