Visualize Data with a Bar Chart - Update Needed

I’m hoping I’m doing this right.

My goal is to help update some of the modules that might use a bit more support in “hints” and guides by suggesting solutions.

I don’t know if this particular solution that I have would go in the “Get a hint” page or “Build a app that is functionally similar to this.” I found that the code listed under the current “build a app” recommendation is using an outdated version of D3. This build has the latest D3 installed (v5.16.0), and I was wondering if it might be helpful for those learning to use as reference:

My personal build here as well as my suggested solution for this project. It’s essentially the same as the current solution, but it implements the current version of D3.