1-DAV-202 Data Management 2023/24
Previously 2-INF-185 Data Source Integration
Difference between revisions of "HWjavascript"
(→Task C) |
|||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
'''General goal:''' Extend the user pages from the previous lecture with simple visualizations. | '''General goal:''' Extend the user pages from the previous lecture with simple visualizations. | ||
− | + | Submit your source code to <tt>/submit/javascript/username/</tt>. Also do not forget to submit the database (even if it is the database from us). | |
− | Submit your source code to <tt>/submit/javascript/username/</tt> | ||
− | |||
===Task A=== | ===Task A=== | ||
− | + | Show a histogram of comment lengths. Use [https://developers.google.com/chart/interactive/docs/gallery/histogram histogram from Google Charts]. | |
===Task B=== | ===Task B=== | ||
− | + | Display a calendar, which shows during which days was the user active. Use [https://developers.google.com/chart/interactive/docs/gallery/calendar calendar from Google Charts]. | |
===Task C=== | ===Task C=== |
Latest revision as of 04:55, 21 July 2024
See the lecture
General goal: Extend the user pages from the previous lecture with simple visualizations.
Submit your source code to /submit/javascript/username/. Also do not forget to submit the database (even if it is the database from us).
Task A
Show a histogram of comment lengths. Use histogram from Google Charts.
Task B
Display a calendar, which shows during which days was the user active. Use calendar from Google Charts.
Task C
Either: Show a word tree for a user using word tree from Google Charts. Try to normalize the text before building the tree (convert to lowercase, remove accents). CountVectorizer has build_analyzer method, which returns a function, which does this for you.
Or: Pick some other appropriate visualization from the gallery, feed it with data a show it. Also add some description to it.