dongtanlin0765 2019-07-19 07:05
浏览 29

如何绘制访客滚动图

I need to draw rectangle gradient to show the popularity of scroll position of my website visitor sessions.

Visitor scroll data as:

{
  "visitor_session_key1": {159,160,444,530,531,573,821,848,858,1037,1166,1186,1210,1243,1269,1309,1318,1548,1680,1695,1965,2051,2106,2324,2369,2459,2649,2687,2707,2914,3005,3021,3197,3323,3327,3453,3588,3677,3902,3908,4087,4277,4278,4367,4595},
"visitor_session_key2": {0,1,50,80,133,202,212,245,274,346,423,424,796,1211,1553,2737,4057,4155,4313,4322,4382,4409,4513,4534,4746,4784,4875,4905,4953,5012,5064,5099,5159,5163,5170,5223,5276,5291},
.....
}

Where: 159,160,444,530,531,573,821 ... are Y position of scroll.

The result I want is: enter image description here

in visitor session data, value is scroll position in browser. If position Y = 150 in gradient has 100% user scroll to, that's mean it more popular, and will fill with red color

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥60 求一个简单的网页(标签-安全|关键词-上传)
    • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法
    • ¥15 基于卷积神经网络的声纹识别
    • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
    • ¥100 为什么这个恒流源电路不能恒流?
    • ¥15 有偿求跨组件数据流路径图
    • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
    • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
    • ¥15 CSAPPattacklab
    • ¥15 一直显示正在等待HID—ISP