Enhancing Data Visualization Scripts #515#542
Merged
avinashkranjan merged 5 commits intoMar 14, 2021
Conversation
kaustubhgupta
suggested changes
Mar 14, 2021
| y = np.random.randint(low = 0, high = 100, size=size) | ||
|
|
||
| # creating the Bar Chart | ||
| fig = go.Figure(go.Bar( |
Contributor
There was a problem hiding this comment.
These steps will make the graph more appealing:
- add attribute text = y so that values are displayed on the top of bar chart
- Remove the background grid.
- Remove the y axis labels and title
| y = np.random.randint(low = 0, high = 100, size=size) | ||
|
|
||
| # creating a Pie Chart | ||
| fig = go.Figure(data=[go.Pie(labels=x, values=y)]) |
Contributor
There was a problem hiding this comment.
Display the label of sector along with percentage contribution
Contributor
Author
Contributor
Contributor
|
@antrikshmisri @santushtisharma10 The changes I suggested will be updated by @ELITA04. Other than that if you find any changes kindly convey to @ELITA04 |
kaustubhgupta
suggested changes
Mar 14, 2021
Contributor
kaustubhgupta
left a comment
There was a problem hiding this comment.
@ELITA04 delete the previous images for the bar chart and pie chart
kaustubhgupta
approved these changes
Mar 14, 2021
avinashkranjan
approved these changes
Mar 14, 2021
Owner
|
@all-contributors please add @ELITA04 for code and documentation |
Contributor
|
I've put up a pull request to add @ELITA04! 🎉 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description
Used plotly and numpy to randomly generated data with seed. Also saved the images and updated the README.md
Fixes #515
Have you read the Contributing Guidelines on Pull Requests?
Type of change
Please delete options that are not relevant.
Checklist:
README.mdTemplate for README.md