Looker Map / Store Points and Sales Heat Map in one dashboard - looker

I have a straightforward question, how to show in a SINGLE map:
Store locations (I have Lat/Long)
As dots on the map Sales (I have Lat/Long) - As HeatMap

I could not find a way to do this, as a workaround I used just the sales long/lats and used the store names as dimensions. This allows you to cluster the sales by store where the dots on the map are coloured by store, even if the store 'pins' themselves are absent.
So in Looker terms: Sales (long/lat) as Dimension, Store Name as pivot and Sales as measure.

Related

Displaying count of missing fields

I have an index of data; for example Animals and all data under Animals has 10 fields but some has 9 fields; for example field:human.
In a pie graph, I want to show the count of all data with column human and count of data without the column human.
How can I do it within a pie graph?
In Split Slices Bucket, use the Terms Aggregation on human field and don't forget to tick Show missing values checkbox. You will get the required result in the pie chart. Check out the following screen for reference.

Multi-functional Shiny App Using Maps and Graphs

I am trying to develop a Shiny App in R for a project that I am working on in order to more efficiently share data and display results of this data for a large working group. I have a spreadsheet with 75 trailheads (points) that contain information related to latitude, longitude, and visitor usage data based on month and year starting in 2016. What I am hoping to do is develop an app that allows users to select all or multiple trailheads and either display the count numbers based on a selected month of a year or a year and have those results be displayed on a map as points based on density as well as a graphical plot that will display the results of the trailheads on a bar graph or something similar that users can look at the geographical dispersion of usage as well as usage trends.
I am have gone through many examples but cannot seem to find any that would allow all this functionality. If anyone can point me in the right direction, as far as locating code, that would be greatly appreciated.

choropleth map time-series map allowing zoom

I have been using both R and QGIS to study GIS, with the intention of publishing choropleth maps to the web. Both pieces of software allow a zoom function on static maps. But, for animated time-series, the only option appears to be to join a series of time snapshots into a movie file.
I would like the user to be able to zoom in during a time series animation.
I'm animating onto a map of New Zealand, and my time-series is events by suburb. While I can aggregate suburb into territorial local authority area to have larger polygons, this removes the suburb detail. Suburb is likely to remain of interest to users.
Will I have to create a series of animations, one for each general geographical area that people might be interested in (e.g. Auckland, Wellington, Christchurch)? That will provide a "selected zoom" option for users. It also means I have to create a set of static maps per predicted geographical location of user interest.
I can't find any solutions for combining zoom and time series with choropleth maps, at least with R and QGIS.
Does anyone have an example of this type of web implementation, preferably showing the options used (QGIS) or the code (R)?

Tableau Map Line Graph - change linking order of data points

I have data with lat/lon attributes that I'm plotting onto a map. I then use the "line" mark to link the data points. It seems to automatically order them by the latitude attribute, which happens to bring two of my data points out of order:
How can I manually change the order of the linking?
Thanks!
There is a path shelf in Tableau, details of the usage can be found here:
http://kb.tableau.com/articles/knowledgebase/using-path-shelf-pattern-analysis
You just need to create a dimension and give each coordinate of your path a running number. Once you drop that dimension on the path shelf, Tableau will use it to determine the order of the coordinates.

How to create india map chart using Hightcharts?

I want to generate reports in Graph. Suppose I want to see my sales in all over india. I want to see in india map chart. So I would be able to see this state sales is this much and so on. I have generated bar chart, pie chart and line chart using Hight Charts. But now I want to generate map chart. But I am not getting how to go through it.
HighCharts has some pre-alpha proof of concepts on doing heat maps (or choropleth). See this post here. It is not in main released version.
Now, you could use any number of other JS libraries to do this. There are essentially 3 steps:
Get mapping data as SVG (or some other format). These are the
shapefiles used to draw the outlines of the geographic features you
want.
In these mapping shapefiles there is an ID associated that is
unique to it. Now assign your data values to this ID/area.
Using D3, raphael, etc draw the shapefiles and link the data. If you have large amounts of cash laying around you can give it to ESRI to purchase ESRI ArcGIS.

Resources