Pandas Dataframe Grouping data on weekly basis

Hello,

I have a Pandas dataframe that looks like this-

ID | Published Date | Topic
1 |2020-03-11 | Law
2 |2020-03-16 | Housing
3 |2020-03-18 | Housing
4 |2020-04-06 | Law
5 |2020-04-08 | Tax

Published Dateis a datetime64[ns] column.

I want to show the Volume of Publication per week for each Topic (Count of weekly Publications grouped by Topics) in a Plotly Time Series Line Graph.
I am not sure I should group the data before using Plotly or Plotly has a feature that can help me do so.

Any help would be appreciated.