Rome is one of my favorite cities because of its history, architecture, food, and atmosphere.
In this presentation, I use Plotly to create an interactive chart showing my favorite places in Rome.
I assigned each place a rating from 1 to 10.
places <- data.frame(
Place = c("Colosseum", "Trevi Fountain", "Villa Borghese",
"Trastevere", "Pantheon", "Piazza Navona"),
Rating = c(10, 9, 9, 10, 8, 9)
)
plot_ly(
places,
x = ~Place,
y = ~Rating,
type = "bar",
text = ~Rating,
textposition = "auto"
) %>%
layout(
title = "My Favorite Places in Rome",
xaxis = list(title = "Place"),
yaxis = list(
title = "My Rating",
range = c(0, 10)
)
)
The interactive Plotly chart allows the reader to explore my ratings by moving the mouse over the bars.
Trastevere and the Colosseum receive the highest ratings.
Created on August 28, 2026.