Histogram Graphing Programming Question Getting Started Open the file called…

Getting Started Open the file called /WMPython/Module4/HistAssignment.py, which was provided with the course files, and save it in the /WMPython/MyWork folder. Also, copy the data file named /WMPython/Module4/length.csv into the /WMPython/MyWork folder. That data file contains, on separate lines, the number of characters in 32,826 of President Donald Trump’s tweets on Twitter. Assignment • Import the data from length.csv into Python. • Plot a histogram of the data using a bar graph from matplotlib. • Assign your data for the x and y axes to lists using the names x and y, respectively. • Create captions on the x-axis and y-axis of “Number of Characters” and “Frequency,” respectively. • Present the data with the x-axis data, which represents the number of characters, in sequential order: do not sort by frequency of occurrence. • Create a title for the graph: “Analysis of President Trump’s Tweet Length” • For this exercise, do not worry about making the x-axis labels legible. However, if you want an extra challenge, then do your best to create a legible set of x-axis labels by using some of the techniques shown in the session videos: o changing the size of the graph, or o reducing the number of labels shown on the graph • It is required that you use the variable names specified in the assignment statement above in your code. Part of the assessment requires that I run your code and look for the values of those variables. If you use other variable names, then I cannot find your answer. • Use the matplotlib package to create a .jpg file of your graph and call it Hist.jpg. What to think about as you write your program: This assignment integrates these new concepts: • Summarizing data in histogram from using a dictionary to create frequency data. • Finding the maximum and minimum values in a list for the number of characters in the set of tweets. • Initializing an empty dictionary. • Graphing with matplotlib bar charts. Submission: Submit the HistAssignment.py file by clicking on the assignment link above and following the same instructions as described for the submission of M1Assignment.ipynb

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more