Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P39
Heatmap
Active
Public
Actions
Authored by
•
Gilles
on Oct 23 2014, 10:13 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
Multimedia
Referenced Files
F406: Heatmap
Oct 23 2014, 10:13 PM
2014-10-23 22:13:15 (UTC+0)
Subscribers
None
Table
table
=
loadTable
(
"viewport.csv"
,
"header"
);
size
(
2500
,
2500
);
background
(
0
);
for
(
TableRow
row
:
table
.
rows
())
{
int
count
=
row
.
getInt
(
"count"
);
int
width
=
row
.
getInt
(
"width"
);
int
height
=
row
.
getInt
(
"height"
);
stroke
(
255.0
,
min
(
255.0
,
(
log
(
float
(
count
)
)
/
4.8
)
*
255.0
),
0.0
);
point
(
width
,
height
);
}
save
(
"viewport heatmap.png"
);
Event Timeline
•
Gilles
edited the content of this paste.
(Show Details)
Oct 23 2014, 10:13 PM
2014-10-23 22:13:15 (UTC+0)
•
Gilles
changed the title of this paste from untitled to
Heatmap
.
•
Gilles
updated the paste's language from
autodetect
to
java
.
•
Gilles
added a project:
Multimedia
.
jeblad
mentioned this in
T117680: [Story] Ordering of statement groups for ArticlePlaceholder
.
Mar 26 2016, 3:44 PM
2016-03-26 15:44:22 (UTC+0)
Lea_Lacroix_WMDE
mentioned this in
T142691: [Bug] wb_terms table truncates labels exceeding 255 bytes, possibly leaving invalid UTF-8
.
Aug 11 2016, 9:27 AM
2016-08-11 09:27:44 (UTC+0)
agray
mentioned this in
T173432: Sort claims of a property in meaningful way
.
Jan 18 2018, 12:48 PM
2018-01-18 12:48:58 (UTC+0)
Lea_Lacroix_WMDE
mentioned this in
T186097: [UI] When creating a statement, no property suggestion made for a qualifier
.
Jan 31 2018, 10:21 AM
2018-01-31 10:21:15 (UTC+0)
Alexsdutton
mentioned this in
T199916: query.wikidata.org returning different results when re-running a query, though the data is unchanged
.
Sep 4 2018, 9:43 AM
2018-09-04 09:43:17 (UTC+0)
GoranSMilovanovic
mentioned this in
T219843: Pyspark/R procedures to process the copy of the WD Dump in the Data Lake
.
May 2 2019, 11:03 AM
2019-05-02 11:03:12 (UTC+0)
agray
mentioned this in
T230588: Wikidata Query Service is swapping items and properties
.
Sep 7 2019, 12:55 PM
2019-09-07 12:55:30 (UTC+0)
Salgo60
mentioned this in
T236769: Create a Shape Expressions (ShEx) for Swedish Parliament members in Wikidata
.
Oct 29 2019, 10:15 AM
2019-10-29 10:15:48 (UTC+0)
Jclark-ctr
mentioned this in
T273778: (Need By: TBD) rack/setup/install kafka-logging100[123]
.
Feb 24 2021, 11:46 PM
2021-02-24 23:46:14 (UTC+0)
dcausse
mentioned this in
T322869: Fewer results from wdqs nodes running in codfw than eqiad
.
Nov 10 2022, 5:31 PM
2022-11-10 17:31:21 (UTC+0)
SJu
mentioned this in
T313833: [EPIC] Automate Item descriptions based on statements
.
Feb 20 2023, 12:28 AM
2023-02-20 00:28:44 (UTC+0)
Log In to Comment