1-DAV-202 Data Management 2023/24
Previously 2-INF-185 Data Source Integration
Difference between revisions of "HWjavascript"
(Created page with "<!-- NOTEX --> See the lecture <!-- /NOTEX --> '''General goal:''' Extend the user pages from the previous lecture with simple visualizations. <!-- NOTEX -->...") |
|||
Line 19: | Line 19: | ||
===Task C=== | ===Task C=== | ||
− | Show a word tree for a user using [https://developers.google.com/chart/interactive/docs/gallery/wordtree word tree from Google Charts]. Try to normalize the text before building the tree(convert to lowercase, remove accents). <tt>CountVectorizer</tt> has <tt>build_analyzer</tt> method, which returns a function, which does this for you. | + | Either: Show a word tree for a user using [https://developers.google.com/chart/interactive/docs/gallery/wordtree word tree from Google Charts]. Try to normalize the text before building the tree(convert to lowercase, remove accents). <tt>CountVectorizer</tt> has <tt>build_analyzer</tt> method, which returns a function, which does this for you. |
+ | |||
+ | Or: Pick some other from [https://developers.google.com/chart/interactive/docs/gallery the gallery], feed it with data a show it. | ||
+ | Also Add some description to it. |
Revision as of 08:57, 1 April 2020
See the lecture
General goal: Extend the user pages from the previous lecture with simple visualizations.
Submit your source code to /submit/javascript/username/
Task A
Display a calendar, which shows during which days was the user active. Use calendar from Google Charts.
Task B
Show a histogram of comment lengths. Use histogram 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 from the gallery, feed it with data a show it. Also Add some description to it.