I have a situation where the pageviews that I got after filtering few page names but when I tried to visualize it using Line Graph it shows total Page Views while I want it to show Page Views only for filtered Page Names. Attaching the screenshot for your reference.
Is it possible to visualize Line Graph only for filtered Page Views?
Unfortunately, it doesn't seem to be possible when you use a filter.
If you are graphing for a few Pages only, you could drag-and-drop each Page item into the table manually. The total will then be the total for those included items only.
Honestly, the easiest way to do this reliably is to just build a segment at the hit level for the pages you want to filter. Explicitly dragging them in, as @yuhuisg suggests, will also do the same thing, but having one or more segments you can simply update and drag into your report will also make things easier to manage.
Adding only specific dimension values from the Page Name dimension should return the expected output with the line visualization.
Example: Create a freeform table like this, and apply the line visualization to it.
Page name Page Views