当前位置:网站首页>Using anychart JS chart library to visualize reddit data case

Using anychart JS chart library to visualize reddit data case

2020-12-07 14:47:07 roffey

AnyChart Is based on JavaScript (HTML5) The chart control of . Use AnyChart Control , Create interactive charts and meters across browsers and platforms .AnyChart The chart has been used by many famous companies , It can be used in the dashboard 、 report form 、 Data analysis 、 statistical 、 Finance and so on .

AnyChar HTML5 Charts are highly customizable and highly compatible . Have pure JavaScript API,AnyChart Chart built-in client data real-time update , Multi level drill down zone and specific parameter update . Powerful theme engine allows you to have a unique presentation experience through a series of charts , and PDF And image output can produce book quality print documents .

Click to download AnyChart The latest version

使用AnyChart JavaScript图表库可视化Reddit数æçš„词云图表

Leading the data visualization market with first-class solutions , We are always happy to see that not only the company , And how individuals from all over the world use them in their projects to generate interactive charts . This is an interesting new example that we've seen recently . From Syria Mais Hatem, Now it's the American University in Beirut ( Lebanon ) One of my undergraduate students , Created “ Cloud a Subreddit ”, This is a network project , With the help of AnyChart JS Library in any given Reddit Of subreddit Create a beautiful interactive word cloud chart in .

We are right. Mais Did a short interview , In the interview, she told us in detail about her use of AnyChart The work and experience of , To find out .

AnyChart: hi , Max ! Let's introduce our community to you . Can you own Talk about it

Max · Hatem (Mais Hatem): hi , I'm max , I'm a senior in computer science . I come from a small town in Syria , Currently living in Lebanon . In my spare time , I like to try to use JavaScript and RESTful API.

A: What role does data visualization play in your life ? Several of your works have been shown on our website , Are you creating graphics within a learning framework or out of personal interest ?

MH: Mainly hobbies . Although I've never used data visualization in any course , But I'm really excited about the visual appeal of converting words and numbers into color charts , This is the main idea of all of these projects that you see .

generally speaking , There are a lot of open API, It's a lot of information to be boring JSON or XML Format store . therefore , I think if you can visualize more important data in areas like health or public governance , That would be good . When you have charts to support you , It's absolutely easy to talk to people .

A:“ Cloud a Subreddit ” How did the idea of the idea come into being ? Why did you decide to develop it ?

MH: I was trying to challenge #7days7 Website , And met a developer , He analyzed the movie script into a gender chart . I spent a lot of time reading their documentation and understanding their code . And because I am Reddit Daily users of , So I think scrape off each subreddit It would be cool to form a word cloud in the first few pages of .

Besides being fun , Word cloud is also a very fast way , It can make readers understand the content of the text clearly . under these circumstances , Such color bubbles can provide the current on a certain sub reddit A snapshot of the most important content of subscribers and visitors .

A: that , What is? “ Cloud a Subreddit”, Is it exactly what you want to build

MH: For users , It's that simple . You enter a subreddit The name of ( No “ / r /” Or space ), Then press the orange button , You will see : In a flash, a beautiful interactive word cloud is generated on the same page , You can see at a glance what word should be subreddit The most frequently used word in the title of the current front page post .

That's the basic function I'm going to provide .

Of course , There will always be more keywords to filter . The project is open source , I remember in GitHub Mark it as a problem , This causes the repository to move from HacktoberFest The participants have made useful contributions . It makes me very happy , Because this is my first database to work with strangers .

A: It does look cool ! Have you considered adding or updating something in the tag cloud tool ?

MH: For future improvement , There are many ways to start , Including the front-end layout . however , The main inducement is to adopt NLP Process to mark words automatically , Instead of filling in the dictionary . Another cool thing is , Each word cloud should also be shown to the stator reddit Of “ General emotion ”.

therefore , You can do a lot of things , And I want to do more . Basically , I hope this project can be a good starting point for my knowledge and skills in text mining , And I have enough time to do everything .

A: Please give us a detailed introduction to the technical aspects . How do you use Reddit data ? What technology stack does your project use ? take AnyChart Is it easy to integrate into it ?

MH: I can put .json Add to any Reddit The fact that links make everything easy . In order to send out GET request , I use the JavaScript Of Fetch API. then , I'm going to filter unimportant words through a word filter ( For example, linked words and definite articles and indefinite articles ) after , A dictionary filled with words . Then the dictionary was passed to me anychart The interesting part of the object , To make words fuzzy . I use Bootstrap To keep the response speed .

actually , take AnyChart Integration into my project is really seamless , Because I only include two lines CDN Import .

A: Why do you choose AnyChart JS Chart Library ? What do you like best ?

MH: I studied different libraries and frameworks , however AnyChart Because of its excellent documentation, it's easy to start and be familiar with .

A: When someone asks you about which JavaScript Library for data visualization suggestions , How do you generally recommend AnyChart?

MH: Easy to personalize graphics and excellent documentation .

A: thank you !

Related product recommendation :

AnyGantt—— Ideal tool for building complex and rich Gantt charts

AnyStock—— be based on XML/JSON Of Flash Financial chart solutions

AnyMap—— Interactive maps

版权声明
本文为[roffey]所创,转载请带上原文链接,感谢
https://chowdera.com/2020/12/20201207144244532z.html