Washington, D.C. is the capital of the United States. Washington's population is approaching 700,000 people and has been growing since 2000 following a half-century of population decline. The city is highly segregated and features a high cost of living. In 2017, the average price of a single-family home in the district was $649,000. The dataset (DC_Property_Train.CSV) provides insight on the housing stock of the district.
1. Plot a histogram for EYB. Describe the plotted pattern.
2. Plot a histogram for PRICE. Describe the plotted pattern and analyze the potential reasons for the high-priced properties.
3. Summarize the average PRICE for each ASSESSMENT_NBHD. Sort the processed data and make a bar plot of average prices for the top 10 neighborhoods.
4. Plot boxplots of PRICE by ASSESSMENT_NBHD for the top 10 neighborhoods. Explain the
pros of using boxplots instead of average prices.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
29 | 30 | 1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 | 1 | 2 |