Mid Sweden University

miun.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Visualizing public transport with heat-maps: Comparing the scalability of SVG and Canvas for heat-maps
Mid Sweden University, Faculty of Science, Technology and Media, Department of Computer and System Science.
2020 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Computer hardware is constantly improving, displays get bigger resolutions and the hardware can handle more data. Consequently, we can display more information with digital visualisation and our software needs to scale well with this increase. For websites, there is a lack in research about which software scales well with bigger data, in particular SVG and Canvas. Some research has been done comparing SVG and Canvas. However, the focus has not been on scalability with big data. The choice of visualisation for this study was heatmaps, as this was an area that previous research was lacking in and proved to be suitable for scalable visualisation. It has looked at the performance of SVG and Canvas with both increasing resolutions and data, by creating a website with two pages equal in looks and functionality using SVG and Canvas. A series of tests were done that simulated the usage of heat-maps. To create the website, D3.js was used and it’s suitability to handle big data was also tested. The results of this study can be used as a guideline to decide whether SVG and Canvas is better suited for a specific range of data size. It has found that in this case SVG is around four times slower when initially creating all the elements of the heat-map. It also found that Canvas is around 30% slower when editing the colour of all elements in the heatmap. For changing the colour of one element, both Canvas and SVG were too fast to be reliably measured. The parts of D3.js used in this study proved to be slow when working with large amounts of data.

Place, publisher, year, edition, pages
2020. , p. 37
Keywords [en]
SVG, Canvas, heat-map, D3.js, scalability, visualisation
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:miun:diva-38514OAI: oai:DiVA.org:miun-38514DiVA, id: diva2:1397765
Subject / course
Computer Engineering DT1
Educational program
Software Engineering TPVAG 120/180 higher education credits
Supervisors
Examiners
Available from: 2020-02-27 Created: 2020-02-27 Last updated: 2025-09-25Bibliographically approved

Open Access in DiVA

fulltext(678 kB)354 downloads
File information
File name FULLTEXT01.pdfFile size 678 kBChecksum SHA-512
586eac92bc2435feaa95d0b0c7331813d22017535eed81902347cdecea449d44d1a73c926036442500fd1457dffdd8c6e3fb9f6c249c1c3274e9ba3ac33b65cd
Type fulltextMimetype application/pdf

By organisation
Department of Computer and System Science
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 356 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 909 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf