Vega is a visualization grammar, a declarative format for creating and saving interactive visualization designs. Vega's runtime uses D3 behind the scene to draw.
Investigate the Vega visualization library and the amp by example repository structure. Note that this repository has been deprecated and merged into amp.dev, so check if similar examples exist on amp.dev. The issue lacks specifics on the expected sample; you would need to look at existing examples for patterns or ask maintainers for clarification.